diff options
Diffstat (limited to 'IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c')
-rw-r--r-- | IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c index e1a53135b5..22c2eb3c7e 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c @@ -1679,9 +1679,7 @@ GetLegacyDeviceOrder ( {
UINTN Index;
UINTN OptionIndex;
- UINT16 PageIdList [] = {FORM_SET_FD_ORDER_ID, FORM_SET_HD_ORDER_ID,
- FORM_SET_CD_ORDER_ID, FORM_SET_NET_ORDER_ID,
- FORM_SET_BEV_ORDER_ID};
+ UINT16 PageIdList[5];
UINTN PageNum;
UINTN VarSize;
UINT8 *VarData;
@@ -1697,7 +1695,12 @@ GetLegacyDeviceOrder ( UINTN Bit;
ASSERT (CallbackData != NULL);
-
+
+ PageIdList[0] = FORM_SET_FD_ORDER_ID;
+ PageIdList[1] = FORM_SET_HD_ORDER_ID;
+ PageIdList[2] = FORM_SET_CD_ORDER_ID;
+ PageIdList[3] = FORM_SET_NET_ORDER_ID;
+ PageIdList[4] = FORM_SET_BEV_ORDER_ID;
OptionMenu = NULL;
BbsType = 0;
LegacyOrder = NULL;
|