]> git.proxmox.com Git - mirror_edk2.git/commit
IntelFrameworkModulePkg/LegacyUi: Get legacy options when open legacy form
authorDandan Bi <dandan.bi@intel.com>
Thu, 7 Jul 2016 02:58:14 +0000 (10:58 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 7 Jul 2016 04:49:01 +0000 (12:49 +0800)
commit1c03582b070a8feb0b43539cd918a37e3bd5b8da
tree1ac66a193b90915575a84725262ccc1b8ddde9b4
parent984cb6462ac36bb90ce165e6507c31cda2369163
IntelFrameworkModulePkg/LegacyUi: Get legacy options when open legacy form

The LegacyBootMaintUiLib depends on the LegacyBootManagerLib to realize its
functionality, the LegacyBootManagerLib may initialize after
LegacyBootMaintUiLib, so the functionality of LegacyBootMaintUiLib may
be incorrect. Now we fix this issue by executing the related codes when
opening the legacy forminstead in its the constructor function. Because
when opening the legacy form, the LegacyBootManagerLib 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>
IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c