Skip to content
Commit 801d0037 authored by James Wang's avatar James Wang Committed by Isaac Oram
Browse files

BoardModulePkg/BoardBdsHookLib: Fix F7 overwrites Boot0000



Check if mBootMenuOptionNumber is valid or not before
calling RegisterBootOptionHotkey to avoid overwriting Boot0000

Cc: Eric Dong <eric.dong@intel.com>
Cc: Isaac Oram <isaac.w.oram@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: default avatarJames Wang <jameswang@ami.com>
Reviewed-by: default avatarIsaac Oram <isaac.w.oram@intel.com>
parent 76fc44fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment