]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/BMMUI: Show "Change Boot/Driver order" page correctly
authorDandan Bi <dandan.bi@intel.com>
Mon, 17 Oct 2016 06:32:51 +0000 (14:32 +0800)
committerStar Zeng <star.zeng@intel.com>
Wed, 19 Oct 2016 03:37:52 +0000 (11:37 +0800)
commit2c30541a197b2204f941bfa47a01dc4d4d57ab5a
treedfba21f19209d407a5a7796ca7e3e4b975d5defe
parent7880f73a8e89f482c61e181861997331baf37857
MdeModulePkg/BMMUI: Show "Change Boot/Driver order" page correctly

When user enter the "Change Boot Order" page, the BootOptionOrder in
BmmFakeNvData may maintain some uncommitted data which are not saved
in "BootOrder" Variable and BootOptionMenu. So we should not always get
the BootOptionOrder through the function GetBootOrder, it will
result in incorrect UI behaviors. When the BootOptionOrder has not been
saved, we should use the BootOptionOrder in current BmmFakeNvData.

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
MdeModulePkg/Library/BootMaintenanceManagerUiLib/UpdatePage.c