]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/UefiBootManagerLib: Remove assertion
authorRuiyu Ni <ruiyu.ni@intel.com>
Mon, 20 Nov 2017 05:13:25 +0000 (13:13 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Wed, 22 Nov 2017 09:50:39 +0000 (17:50 +0800)
EfiBootManagerStartHotkeyService() asserts when "BootOptionSupport"
variable doesn't exist.

In fact, though "BootOptionSupport" variable is set in BdsDxe
module, it's possible that the variable is deleted by
PlatformBootManagerBeforeConsole().

The patch removes the assertion and adds code to handle the case.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>

No differences found