Home
last modified time | relevance | path

Searched refs:OptionIndex (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/Library/PlatformBootManagerLib/
DPlatformBm.c279 INTN OptionIndex; in PlatformRegisterFvBootOption() local
320 OptionIndex = EfiBootManagerFindLoadOption ( in PlatformRegisterFvBootOption()
324 if (OptionIndex == -1) { in PlatformRegisterFvBootOption()
347 INTN OptionIndex; in PlatformRegisterBootSd() local
376 OptionIndex = EfiBootManagerFindLoadOption ( in PlatformRegisterBootSd()
380 if (OptionIndex == -1) { in PlatformRegisterBootSd()
405 INTN OptionIndex; in PlatformRegisterBootGrub() local
447 OptionIndex = EfiBootManagerFindLoadOption ( in PlatformRegisterBootGrub()
451 if (OptionIndex == -1) { in PlatformRegisterBootGrub()
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PlatformBootManagerLib/
DPlatformBootManager.c127 UINTN OptionIndex; in PlatformRegisterFvBootOption() local
157 OptionIndex = PlatformFindLoadOption (&NewOption, BootOptions, BootOptionCount); in PlatformRegisterFvBootOption()
159 if (OptionIndex == -1) { in PlatformRegisterFvBootOption()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/
DUpdatePage.c572 UINT16 OptionIndex; in UpdateOrderPage() local
623 …for (OptionIndex = 0; (OptionOrder[OptionIndex] != 0 && OptionIndex < MAX_MENU_NUMBER); OptionInde… in UpdateOrderPage()
627 if ((UINT32) (NewMenuEntry->OptionNumber + 1) == OptionOrder[OptionIndex]) { in UpdateOrderPage()
638 OptionOrder[OptionIndex] in UpdateOrderPage()
DBootMaintenanceManager.h1034 OUT UINTN *OptionIndex,
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmLoadOption.c1038 UINTN OptionIndex; in EfiBootManagerGetLoadOptions() local
1061 OptionIndex = 0; in EfiBootManagerGetLoadOptions()
1066 Status = EfiBootManagerVariableToLoadOption (OptionName, &Options[OptionIndex]); in EfiBootManagerGetLoadOptions()
1071 ASSERT (Options[OptionIndex].OptionNumber == OptionNumber); in EfiBootManagerGetLoadOptions()
1072 OptionIndex++; in EfiBootManagerGetLoadOptions()
1080 if (OptionIndex < *OptionCount) { in EfiBootManagerGetLoadOptions()
1081 …Options = ReallocatePool (*OptionCount * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION), OptionIndex * size… in EfiBootManagerGetLoadOptions()
1083 *OptionCount = OptionIndex; in EfiBootManagerGetLoadOptions()
/device/linaro/bootloader/edk2/ArmPkg/Library/PlatformBootManagerLib/
DPlatformBm.c336 INTN OptionIndex; in PlatformRegisterFvBootOption() local
377 OptionIndex = EfiBootManagerFindLoadOption ( in PlatformRegisterFvBootOption()
381 if (OptionIndex == -1) { in PlatformRegisterFvBootOption()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformBootManagerLib/
DPlatformBootManager.c76 UINTN OptionIndex; in PlatformRegisterFvBootOption() local
168 OptionIndex = PlatformFindLoadOption (&NewOption, BootOptions, BootOptionCount); in PlatformRegisterFvBootOption()
170 if (OptionIndex == -1) { in PlatformRegisterFvBootOption()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DUpdatePage.c544 UINT16 OptionIndex; in UpdateOrderPage() local
597 …for (OptionIndex = 0; (OptionIndex < MAX_MENU_NUMBER && OptionOrder[OptionIndex] != 0); OptionInde… in UpdateOrderPage()
601 if ((UINT32) (NewMenuEntry->OptionNumber + 1) == OptionOrder[OptionIndex]) { in UpdateOrderPage()
612 OptionOrder[OptionIndex] in UpdateOrderPage()
DBootOption.c1677 UINTN OptionIndex; in GetLegacyDeviceOrder() local
1764 for (OptionIndex = 0; OptionIndex < OptionMenu->MenuNumber; OptionIndex++) { in GetLegacyDeviceOrder()
1765 … *(UINT16 *) ((UINTN) DevOrder + sizeof (BBS_TYPE) + sizeof (UINT16) + OptionIndex * sizeof (UINT1… in GetLegacyDeviceOrder()
1767 LegacyOrder[OptionIndex] = 0xFF; in GetLegacyDeviceOrder()
1772 LegacyOrder[OptionIndex] = (UINT8) (VarDevOrder & 0xFF); in GetLegacyDeviceOrder()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/PlatformBootManagerLib/
DPlatformBm.c337 INTN OptionIndex; in PlatformRegisterFvBootOption() local
378 OptionIndex = EfiBootManagerFindLoadOption ( in PlatformRegisterFvBootOption()
382 if (OptionIndex == -1) { in PlatformRegisterFvBootOption()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellBcfgCommandLib/
DUefiShellBcfgCommandLib.c748 UINT16 OptionIndex; in BcfgAddOpt() local
786 OptionIndex = (UINT16)Intermediate; in BcfgAddOpt()
922 ASSERT (OptionIndex <= OrderCount); in BcfgAddOpt()
923 KeyOptionBuffer->BootOption = CurrentOrder[OptionIndex]; in BcfgAddOpt()
993 … Status = UpdateOptionalData(CurrentOrder[OptionIndex], (UINTN)Intermediate, (UINT8*)Data, Target); in BcfgAddOpt()
/device/linaro/bootloader/edk2/OvmfPkg/Library/PlatformBootManagerLib/
DBdsPlatform.c95 INTN OptionIndex; in PlatformRegisterFvBootOption() local
136 OptionIndex = EfiBootManagerFindLoadOption ( in PlatformRegisterFvBootOption()
140 if (OptionIndex == -1) { in PlatformRegisterFvBootOption()