]> git.proxmox.com Git - mirror_edk2.git/commit - IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c
IntelFrameworkModulePkg/BootMaint: Show "Change Boot order" page correctly
authorDandan Bi <dandan.bi@intel.com>
Fri, 28 Oct 2016 01:34:51 +0000 (09:34 +0800)
committerJeff Fan <jeff.fan@intel.com>
Fri, 4 Nov 2016 02:03:18 +0000 (10:03 +0800)
commite135e4a79efdcc1de76a5a38bb17d9f925e6f5a1
treee5bcacae3b7b0d8bcfaf2479124b22f15a9ecd87
parent5f609eb837f235e28464285a2fb768e39cd51b56
IntelFrameworkModulePkg/BootMaint: Show "Change Boot order" page correctly

Some boot options may be deleted in the "Delete Boot Option page",
But the data BootOptionOrder in BmmFakeNvData may not be updated.
So when user enter the "Change Boot Order" page, we should not always
get the BootOptionOrder in BmmFakeNvData, it will result in incorrect
UI behaviors. When the Boot Options have been saved,
we should get the BootOptionOrder through function GetBootOrder.

For driver option codes need to do the same change.

This patch is to fix the issue in bugzilla:
https://bugzilla.tianocore.org/show_bug.cgi?id=39

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>
IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c