Hi, Refer to: Bug #3522<https://bugzilla.tianocore.org/show_bug.cgi?id=3522>
There is a problem in RegisterStaticHotkey() of BoardBootOption.c that it still RegisterBootOptionHotkey() for F7 key on Boot0000 if mBootMenuOptionNumber is not assigned. mBootMenuOptionNumber is not assigned (LoadOptionNumberUnassigned) because error happened in RegisterFvBootOption(). I think we need to check if mBootMenuOptionNumber valid before registering F7. I have provided a simple patch as attached. -The information contained in this message may be confidential and proprietary to American Megatrends (AMI). This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#79278): https://edk2.groups.io/g/devel/message/79278 Mute This Topic: https://groups.io/mt/84864025/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
0001-fix-F7-key-still-register-Boot0000-if-error.patch
Description: 0001-fix-F7-key-still-register-Boot0000-if-error.patch