/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
D | BmLoadOption.c | 94 UINTN OptionNumber; in BmGetFreeOptionNumber() local 113 for (OptionNumber = 0; in BmGetFreeOptionNumber() 114 OptionNumber < OptionOrderSize / sizeof (UINT16) in BmGetFreeOptionNumber() 116 OptionNumber++ in BmGetFreeOptionNumber() 122 if (OptionNumber == OptionOrder[Index]) { in BmGetFreeOptionNumber() 132 ((BootNext == NULL) || (OptionNumber != *BootNext)) in BmGetFreeOptionNumber() 149 ASSERT (OptionNumber <= 0x10000); in BmGetFreeOptionNumber() 150 if (OptionNumber == 0x10000) { in BmGetFreeOptionNumber() 153 *FreeOptionNumber = (UINT16) OptionNumber; in BmGetFreeOptionNumber() 183 if ((Option->OptionNumber == LoadOptionNumberUnassigned) || in EfiBootManagerLoadOptionToVariable() [all …]
|
D | BmHotkey.c | 114 UINT16 *OptionNumber in BmIsKeyOptionVariable() argument 127 *OptionNumber = 0; in BmIsKeyOptionVariable() 133 *OptionNumber = (UINT16) Uint + *OptionNumber * 0x10; in BmIsKeyOptionVariable() 162 UINT16 OptionNumber; in BmCollectKeyOptions() local 167 if (BmIsKeyOptionVariable (Name, Guid, &OptionNumber)) { in BmCollectKeyOptions() 170 KeyOption->OptionNumber = OptionNumber; in BmCollectKeyOptions() 182 if (KeyOption->OptionNumber < Param->KeyOptions[Index].OptionNumber) { in BmCollectKeyOptions() 341 if (mBmHotkeyBootOption.OptionNumber != LoadOptionNumberUnassigned) { in EfiBootManagerHotkeyBoot() 344 mBmHotkeyBootOption.OptionNumber = LoadOptionNumberUnassigned; in EfiBootManagerHotkeyBoot() 370 if (mBmHotkeyBootOption.OptionNumber != LoadOptionNumberUnassigned) { in BmHotkeyCallback() [all …]
|
D | BmBoot.c | 84 UINTN OptionNumber; in BmFindBootOptionInVariable() local 90 OptionNumber = LoadOptionNumberUnassigned; in BmFindBootOptionInVariable() 95 if (OptionToFind->OptionNumber != LoadOptionNumberUnassigned) { in BmFindBootOptionInVariable() 98 mBmLoadOptionName[OptionToFind->OptionType], OptionToFind->OptionNumber in BmFindBootOptionInVariable() 103 ASSERT (OptionToFind->OptionNumber == BootOption.OptionNumber); in BmFindBootOptionInVariable() 110 OptionNumber = OptionToFind->OptionNumber; in BmFindBootOptionInVariable() 119 if (OptionNumber == LoadOptionNumberUnassigned) { in BmFindBootOptionInVariable() 124 OptionNumber = BootOptions[Index].OptionNumber; in BmFindBootOptionInVariable() 130 return OptionNumber; in BmFindBootOptionInVariable() 1590 UINTN OptionNumber; in EfiBootManagerBoot() local [all …]
|
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PlatformBootManagerLib/ |
D | PlatformBootManager.c | 218 UINTN OptionNumber; in RegisterBootManagerMenuAppBootOption() local 237 OptionNumber = NewOption.OptionNumber; in RegisterBootManagerMenuAppBootOption() 241 return OptionNumber; in RegisterBootManagerMenuAppBootOption() 288 UINTN OptionNumber; in GetBootManagerMenuAppOption() local 290 OptionNumber = 0; in GetBootManagerMenuAppOption() 296 OptionNumber = BootOptions[Index].OptionNumber; in GetBootManagerMenuAppOption() 307 …OptionNumber = (UINT16) RegisterBootManagerMenuAppBootOption (&mBootMenuFile, L"UEFI BootManagerMe… in GetBootManagerMenuAppOption() 310 return OptionNumber; in GetBootManagerMenuAppOption() 335 UINTN OptionNumber; in PlatformBootManagerAfterConsole() local 355 EfiBootManagerAddKeyOptionVariable (NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL); in PlatformBootManagerAfterConsole() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/ |
D | BootOption.c | 328 NewMenuEntry->OptionNumber = BootOrderList[Index]; in BOpt_GetBootOptions() 455 UINTN OptionNumber; in BOpt_FindDrivers() local 480 OptionNumber = 0; in BOpt_FindDrivers() 515 NewMenuEntry->OptionNumber = OptionNumber; in BOpt_FindDrivers() 516 OptionNumber++; in BOpt_FindDrivers() 525 DriverMenu.MenuNumber = OptionNumber; in BOpt_FindDrivers() 548 UINT16 OptionNumber; in BOpt_GetOptionNumber() local 553 OptionNumber = 0; in BOpt_GetOptionNumber() 559 for (OptionNumber = 0; ; OptionNumber++) { in BOpt_GetOptionNumber() 562 if (OptionNumber == OrderList[Index]) { in BOpt_GetOptionNumber() [all …]
|
D | Variable.c | 57 NewMenuEntry->OptionNumber in Var_DelBootOption() 147 *BootOrderList = (UINT16) NewMenuEntry->OptionNumber; in Var_ChangeBootOrder() 210 NewMenuEntry->OptionNumber in Var_DelDriverOption() 280 *DriverOrderList = (UINT16) NewMenuEntry->OptionNumber; in Var_ChangeDriverOrder() 563 NewMenuEntry->OptionNumber = Index; in Var_UpdateDriverOption() 683 NewMenuEntry->OptionNumber = Index; in Var_UpdateBootOption() 756 &NewMenuEntry->OptionNumber in Var_UpdateBootNext() 785 UINT16 OptionNumber; in Var_UpdateBootOrder() local 803 OptionNumber = BootOrder[Index]; in Var_UpdateBootOrder() 805 BootOrder[OrderIndex] = OptionNumber; in Var_UpdateBootOrder()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
D | BootOption.c | 244 UINTN OptionNumber; in BOpt_FindFileSystem() local 255 OptionNumber = 0; in BOpt_FindFileSystem() 348 MenuEntry->OptionNumber = Index; in BOpt_FindFileSystem() 389 OptionNumber++; in BOpt_FindFileSystem() 437 MenuEntry->OptionNumber = OptionNumber; in BOpt_FindFileSystem() 438 OptionNumber++; in BOpt_FindFileSystem() 495 MenuEntry->OptionNumber = OptionNumber; in BOpt_FindFileSystem() 496 OptionNumber++; in BOpt_FindFileSystem() 503 FsOptionMenu.MenuNumber = OptionNumber; in BOpt_FindFileSystem() 559 UINTN OptionNumber; in BOpt_FindFiles() local [all …]
|
D | BBSsupport.c | 183 UINT16 OptionNumber; in GroupMultipleLegacyBootOption4SameType() local 221 OptionNumber = BootOrder[Index]; in GroupMultipleLegacyBootOption4SameType() 223 BootOrder[*NextIndex] = OptionNumber; in GroupMultipleLegacyBootOption4SameType()
|
D | Variable.c | 57 NewMenuEntry->OptionNumber in Var_DelBootOption() 152 *BootOrderList = (UINT16) NewMenuEntry->OptionNumber; in Var_ChangeBootOrder() 216 NewMenuEntry->OptionNumber in Var_DelDriverOption() 291 *DriverOrderList = (UINT16) NewMenuEntry->OptionNumber; in Var_ChangeDriverOrder() 651 NewMenuEntry->OptionNumber = Index; in Var_UpdateDriverOption() 719 … CallbackData->BmmFakeNvData.DriverOptionOrder[Index] = (UINT32) (NewMenuEntry->OptionNumber + 1); in Var_UpdateDriverOption() 839 NewMenuEntry->OptionNumber = Index; in Var_UpdateBootOption() 904 … CallbackData->BmmFakeNvData.BootOptionOrder[Index] = (UINT32) (NewMenuEntry->OptionNumber + 1); in Var_UpdateBootOption() 964 &NewMenuEntry->OptionNumber in Var_UpdateBootNext() 993 UINT16 OptionNumber; in Var_UpdateBootOrder() local [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/ |
D | Hotkey.c | 420 UINT16 *OptionNumber in IsKeyOptionVariable() argument 432 *OptionNumber = 0; in IsKeyOptionVariable() 435 *OptionNumber = *OptionNumber * 16 + Name[Index] - L'0'; in IsKeyOptionVariable() 437 *OptionNumber = *OptionNumber * 16 + Name[Index] - L'A' + 10; in IsKeyOptionVariable() 466 UINT16 OptionNumber; in HotkeyGetOptionNumbers() local 493 if (IsKeyOptionVariable (Name ,&Guid, &OptionNumber)) { in HotkeyGetOptionNumbers() 501 if (OptionNumber < OptionNumbers[Index]) { in HotkeyGetOptionNumbers() 506 OptionNumbers[Index] = OptionNumber; in HotkeyGetOptionNumbers()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/ |
D | UefiBootManagerLib.h | 50 …UINTN OptionNumber; // #### numerical value, could be LoadOption… member 121 IN UINTN OptionNumber, 209 IN UINTN OptionNumber, 278 UINT16 OptionNumber; member 777 OUT UINT16 *OptionNumber OPTIONAL
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/FileExplorerLib/ |
D | FileExplorer.c | 710 UINTN OptionNumber; in LibFindFileSystem() local 715 OptionNumber = 0; in LibFindFileSystem() 790 OptionNumber++; in LibFindFileSystem() 841 OptionNumber++; in LibFindFileSystem() 850 gFileExplorerPrivate.FsOptionMenu->MenuNumber = OptionNumber; in LibFindFileSystem() 1069 UINTN OptionNumber; in LibFindFiles() local 1071 OptionNumber = 0; in LibFindFiles() 1153 OptionNumber++; in LibFindFiles() 1158 gFileExplorerPrivate.FsOptionMenu->MenuNumber = OptionNumber; in LibFindFiles()
|
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/PlatformBootManagerLib/ |
D | PlatformBm.c | 497 BootOptions[Index].OptionNumber, LoadOptionTypeBoot); in RemoveStaleFvFileOptions() 507 (UINT32)BootOptions[Index].OptionNumber, in RemoveStaleFvFileOptions() 551 NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL in PlatformRegisterOptionsAndKeys() 555 NULL, (UINT16) BootOption.OptionNumber, 0, &Esc, NULL in PlatformRegisterOptionsAndKeys()
|
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PlatformBootManagerLib/ |
D | PlatformBootManager.c | 202 EfiBootManagerAddKeyOptionVariable (NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL); in PlatformBootManagerBeforeConsole() 210 EfiBootManagerAddKeyOptionVariable (NULL, (UINT16) BootOption.OptionNumber, 0, &Down, NULL); in PlatformBootManagerBeforeConsole()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/BdsDxe/ |
D | BdsEntry.c | 856 if (LoadOptions[Index].OptionNumber != Index) { in BdsEntry() 860 LoadOption.OptionNumber = Index; in BdsEntry() 976 LoadOptions[Index].OptionNumber, in BdsEntry() 1061 (LoadOption.OptionNumber != BootManagerMenu.OptionNumber)) { in BdsEntry()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Include/Library/ |
D | GenericBdsLib.h | 83 UINTN OptionNumber; member 718 IN UINTN OptionNumber,
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/ |
D | LegacyBootMaintUi.h | 157 UINTN OptionNumber; member
|
/device/linaro/bootloader/edk2/ArmPkg/Library/PlatformBootManagerLib/ |
D | PlatformBm.c | 420 NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL in PlatformRegisterOptionsAndKeys() 424 NULL, (UINT16) BootOption.OptionNumber, 0, &Esc, NULL in PlatformRegisterOptionsAndKeys()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootManagerUiLib/ |
D | BootManager.c | 322 UINT16 OptionNumber; in GroupMultipleLegacyBootOption4SameType() local 358 OptionNumber = BootOrder[Index]; in GroupMultipleLegacyBootOption4SameType() 360 BootOrder[*NextIndex] = OptionNumber; in GroupMultipleLegacyBootOption4SameType()
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/PlatformBootManagerLib/ |
D | BdsPlatform.c | 253 BootOptions[Index].OptionNumber, LoadOptionTypeBoot); in RemoveStaleFvFileOptions() 263 (UINT32)BootOptions[Index].OptionNumber, in RemoveStaleFvFileOptions() 305 NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL in PlatformRegisterOptionsAndKeys() 309 NULL, (UINT16) BootOption.OptionNumber, 0, &Esc, NULL in PlatformRegisterOptionsAndKeys()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootManagerLib/ |
D | LegacyBm.c | 360 …Status = EfiBootManagerDeleteLoadOptionVariable (BootOption[Index].OptionNumber, BootOption[Index]… in LegacyBmDeleteAllBootOptions() 449 …acyBds] Delete Boot Option Boot%04x: %s\n", (UINTN) BootOption[Index].OptionNumber, BootOption[Ind… in LegacyBmDeleteAllInvalidBootOptions() 460 …EfiBootManagerDeleteLoadOptionVariable (BootOption[Index].OptionNumber, BootOption[Index].OptionTy… in LegacyBmDeleteAllInvalidBootOptions() 463 …ption Boot%04x: %s Bbs0x%04x->Bbs0x%04x\n", (UINTN) BootOption[Index].OptionNumber, BootOption[Ind… in LegacyBmDeleteAllInvalidBootOptions() 1516 (UINTN) BootOptions[Index].OptionNumber, in LegacyBmRefreshAllBootOption()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | BdsBoot.c | 68 IN UINTN OptionNumber, in BdsDeleteBootOption() argument 77 UnicodeSPrint (BootOption, sizeof (BootOption), L"Boot%04x", OptionNumber); in BdsDeleteBootOption() 94 if (BootOrder[Index] == OptionNumber) { in BdsDeleteBootOption() 665 OUT UINT16 *OptionNumber in BdsFindLegacyBootOptionByDevTypeAndName() argument 713 *OptionNumber = BootOrder[Index]; in BdsFindLegacyBootOptionByDevTypeAndName() 807 UINT16 OptionNumber; in BdsAddNonExistingLegacyBootOptions() local 853 &OptionNumber in BdsAddNonExistingLegacyBootOptions() 869 OptionNumber = BootOrder[BootOrderSize / sizeof (UINT16) - 1]; in BdsAddNonExistingLegacyBootOptions()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | BdsBoot.c | 70 IN UINTN OptionNumber, in BdsDeleteBootOption() argument 79 UnicodeSPrint (BootOption, sizeof (BootOption), L"Boot%04x", OptionNumber); in BdsDeleteBootOption() 96 if (BootOrder[Index] == OptionNumber) { in BdsDeleteBootOption() 667 OUT UINT16 *OptionNumber in BdsFindLegacyBootOptionByDevTypeAndName() argument 715 *OptionNumber = BootOrder[Index]; in BdsFindLegacyBootOptionByDevTypeAndName() 809 UINT16 OptionNumber; in BdsAddNonExistingLegacyBootOptions() local 855 &OptionNumber in BdsAddNonExistingLegacyBootOptions() 871 OptionNumber = BootOrder[BootOrderSize / sizeof (UINT16) - 1]; in BdsAddNonExistingLegacyBootOptions()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformBootManagerLib/ |
D | PlatformBootManager.c | 244 EfiBootManagerAddKeyOptionVariable (NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL); in PlatformBootManagerBeforeConsole()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/Library/PlatformBootManagerLib/ |
D | PlatformBm.c | 513 NULL, (UINT16) BootOption.OptionNumber, 0, &Esc, NULL in PlatformRegisterOptionsAndKeys()
|