]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
MdeModulePkg/BootMaintUiLib: Update menus when open BMM form
authorDandan Bi <dandan.bi@intel.com>
Thu, 30 Jun 2016 03:37:56 +0000 (11:37 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 7 Jul 2016 04:49:01 +0000 (12:49 +0800)
commit984cb6462ac36bb90ce165e6507c31cda2369163
treea698c9e4702289778768775de7bd9b19ade74203
parent237e849da45eac8dbd343fbaa9bac40135e879f7
MdeModulePkg/BootMaintUiLib: Update menus when open BMM form

BootMaintenanceManagerUiLib depend on the LeagcyBootMaintUiLib to show the
legacy menus. So we need to do the actions related to LegacyUi in BMM
after the LeagcyBootMaintUiLib have been initialized. So now : 1). update
menus (including legacy menus), 2) re-scan boot options (including legacy
boot option) when opening the BMM form. We think when opening BMM form,
the LeagcyBootMaintUiLib must have been initialized.

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>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.vfr
MdeModulePkg/Library/BootMaintenanceManagerUiLib/FormGuid.h