Home
last modified time | relevance | path

Searched refs:DriverOrderList (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerLib/
DVariable.c245 UINT16 *DriverOrderList; in Var_ChangeDriverOrder() local
250 DriverOrderList = NULL; in Var_ChangeDriverOrder()
256 GetEfiGlobalVariable2 (L"DriverOrder", (VOID **) &DriverOrderList, &DriverOrderListSize); in Var_ChangeDriverOrder()
260 if (DriverOrderList != NULL) { in Var_ChangeDriverOrder()
262 FreePool (DriverOrderList); in Var_ChangeDriverOrder()
263 DriverOrderList = NULL; in Var_ChangeDriverOrder()
269 DriverOrderList = AllocateZeroPool (DriverOrderListSize * sizeof (UINT16)); in Var_ChangeDriverOrder()
270 ASSERT (DriverOrderList != NULL); in Var_ChangeDriverOrder()
271 DriverOrderListPtr = DriverOrderList; in Var_ChangeDriverOrder()
280 *DriverOrderList = (UINT16) NewMenuEntry->OptionNumber; in Var_ChangeDriverOrder()
[all …]
DBootOption.c656 UINT16 *DriverOrderList; in BOpt_GetDriverOptions() local
666 DriverOrderList = NULL; in BOpt_GetDriverOptions()
674 GetEfiGlobalVariable2 (L"DriverOrder", (VOID **) &DriverOrderList, &DriverOrderListSize); in BOpt_GetDriverOptions()
675 if (DriverOrderList == NULL) { in BOpt_GetDriverOptions()
684 DriverOrderList[Index] in BOpt_GetDriverOptions()
710 NewMenuEntry->OptionNumber = DriverOrderList[Index]; in BOpt_GetDriverOptions()
781 if (DriverOrderList != NULL) { in BOpt_GetDriverOptions()
782 FreePool (DriverOrderList); in BOpt_GetDriverOptions()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DVariable.c251 UINT16 *DriverOrderList; in Var_ChangeDriverOrder() local
256 DriverOrderList = NULL; in Var_ChangeDriverOrder()
262 DriverOrderList = BdsLibGetVariableAndSize ( in Var_ChangeDriverOrder()
271 if (DriverOrderList != NULL) { in Var_ChangeDriverOrder()
273 FreePool (DriverOrderList); in Var_ChangeDriverOrder()
274 DriverOrderList = NULL; in Var_ChangeDriverOrder()
280 DriverOrderList = AllocateZeroPool (DriverOrderListSize * sizeof (UINT16)); in Var_ChangeDriverOrder()
281 ASSERT (DriverOrderList != NULL); in Var_ChangeDriverOrder()
282 DriverOrderListPtr = DriverOrderList; in Var_ChangeDriverOrder()
291 *DriverOrderList = (UINT16) NewMenuEntry->OptionNumber; in Var_ChangeDriverOrder()
[all …]
DBootOption.c1474 UINT16 *DriverOrderList; in BOpt_GetDriverOptions() local
1484 DriverOrderList = NULL; in BOpt_GetDriverOptions()
1492 DriverOrderList = BdsLibGetVariableAndSize ( in BOpt_GetDriverOptions()
1497 if (DriverOrderList == NULL) { in BOpt_GetDriverOptions()
1506 DriverOrderList[Index] in BOpt_GetDriverOptions()
1536 NewMenuEntry->OptionNumber = DriverOrderList[Index]; in BOpt_GetDriverOptions()
1612 if (DriverOrderList != NULL) { in BOpt_GetDriverOptions()
1613 FreePool (DriverOrderList); in BOpt_GetDriverOptions()