/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
D | BBSsupport.c | 57 BDS_COMMON_OPTION *BootOption; in OrderLegacyBootOption4SameType() local 88 BootOption = BdsLibVariableToOption (&List, OptionName); in OrderLegacyBootOption4SameType() 89 ASSERT (BootOption != NULL); in OrderLegacyBootOption4SameType() 91 if ((DevicePathType (BootOption->DevicePath) == BBS_DEVICE_PATH) && in OrderLegacyBootOption4SameType() 92 (DevicePathSubType (BootOption->DevicePath) == BBS_BBS_DP)) { in OrderLegacyBootOption4SameType() 96 ASSERT (BootOption->LoadOptionsSize == sizeof (LEGACY_BOOT_OPTION_BBS_DATA)); in OrderLegacyBootOption4SameType() 98 DeviceTypeArray[Index] = ((BBS_BBS_DEVICE_PATH *) BootOption->DevicePath)->DeviceType; in OrderLegacyBootOption4SameType() 99 BbsIndexArray [Index] = ((LEGACY_BOOT_OPTION_BBS_DATA *) BootOption->LoadOptions)->BbsIndex; in OrderLegacyBootOption4SameType() 104 FreePool (BootOption->DevicePath); in OrderLegacyBootOption4SameType() 105 FreePool (BootOption->Description); in OrderLegacyBootOption4SameType() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootManagerLib/ |
D | LegacyBm.c | 215 EFI_BOOT_MANAGER_LOAD_OPTION *BootOption, in LegacyBmFuzzyMatch() argument 225 BbsData = (LEGACY_BM_BOOT_OPTION_BBS_DATA *) BootOption->OptionalData; in LegacyBmFuzzyMatch() 231 (LegacyBmDeviceType (BootOption->FilePath) == BbsTable[BbsData->BbsIndex].DeviceType)) { in LegacyBmFuzzyMatch() 238 if ((StrCmp (Description, BootOption->Description) == 0) && !BbsIndexUsed[BbsData->BbsIndex]) { in LegacyBmFuzzyMatch() 255 (BbsTable[Index].DeviceType != LegacyBmDeviceType (BootOption->FilePath))) { in LegacyBmFuzzyMatch() 265 if ((StrCmp (Description, BootOption->Description) == 0) && !BbsIndexUsed[Index]) { in LegacyBmFuzzyMatch() 353 EFI_BOOT_MANAGER_LOAD_OPTION *BootOption; in LegacyBmDeleteAllBootOptions() local 356 BootOption = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot); in LegacyBmDeleteAllBootOptions() 358 if ((DevicePathType (BootOption[Index].FilePath) == BBS_DEVICE_PATH) && in LegacyBmDeleteAllBootOptions() 359 (DevicePathSubType (BootOption[Index].FilePath) == BBS_BBS_DP)) { in LegacyBmDeleteAllBootOptions() [all …]
|
D | InternalLegacyBm.h | 53 IN EFI_BOOT_MANAGER_LOAD_OPTION *BootOption
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SecurityStubDxe/ |
D | Defer3rdPartyImageLoad.c | 21 BOOLEAN BootOption; member 100 IN BOOLEAN BootOption in LookupImage() argument 110 ASSERT (mDeferred3rdPartyImage.ImageInfo[Index].BootOption == BootOption); in LookupImage() 128 IN BOOLEAN BootOption in QueueImage() argument 154 ImageInfo->BootOption = BootOption; in QueueImage() 195 OUT BOOLEAN *BootOption in GetDefferedImageInfo() argument 205 if ((ImageDevicePath == NULL) || (BootOption == NULL)) { in GetDefferedImageInfo() 236 *BootOption = mDeferred3rdPartyImage.ImageInfo[ImageIndex].BootOption; in GetDefferedImageInfo()
|
D | Defer3rdPartyImageLoad.h | 67 OUT BOOLEAN *BootOption
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootManagerUiLib/ |
D | BootManager.c | 326 EFI_BOOT_MANAGER_LOAD_OPTION BootOption; in GroupMultipleLegacyBootOption4SameType() local 337 Status = EfiBootManagerVariableToLoadOption (OptionName, &BootOption); in GroupMultipleLegacyBootOption4SameType() 340 if ((DevicePathType (BootOption.FilePath) == BBS_DEVICE_PATH) && in GroupMultipleLegacyBootOption4SameType() 341 (DevicePathSubType (BootOption.FilePath) == BBS_BBS_DP)) { in GroupMultipleLegacyBootOption4SameType() 346 …ASSERT ((((BBS_BBS_DEVICE_PATH *) BootOption.FilePath)->DeviceType & 0xF) < ARRAY_SIZE (DeviceType… in GroupMultipleLegacyBootOption4SameType() 347 NextIndex = &DeviceTypeIndex[((BBS_BBS_DEVICE_PATH *) BootOption.FilePath)->DeviceType & 0xF]; in GroupMultipleLegacyBootOption4SameType() 372 EfiBootManagerFreeLoadOption (&BootOption); in GroupMultipleLegacyBootOption4SameType() 433 EFI_BOOT_MANAGER_LOAD_OPTION *BootOption; in UpdateBootManager() local 465 BootOption = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot); in UpdateBootManager() 502 …if (((BootOption[Index].Attributes & LOAD_OPTION_HIDDEN) != 0) || ((BootOption[Index].Attributes &… in UpdateBootManager() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/ |
D | BdsEntry.c | 117 BDS_COMMON_OPTION *BootOption; in BdsBootDeviceSelect() local 183 BootOption = BdsLibVariableToOption (&BootLists, Buffer); in BdsBootDeviceSelect() 188 if (BootOption == NULL) { in BdsBootDeviceSelect() 192 BootOption->BootCurrent = *mBootNext; in BdsBootDeviceSelect() 251 BootOption = CR (Link, BDS_COMMON_OPTION, Link, BDS_LOAD_OPTION_SIGNATURE); in BdsBootDeviceSelect() 258 if (!IS_LOAD_OPTION_TYPE (BootOption->Attribute, LOAD_OPTION_ACTIVE)) { in BdsBootDeviceSelect() 269 if (DevicePathType (BootOption->DevicePath) != BBS_DEVICE_PATH) { in BdsBootDeviceSelect() 274 BdsLibConnectDevicePath (BootOption->DevicePath); in BdsBootDeviceSelect() 286 Status = BdsLibBootViaBootOption (BootOption, BootOption->DevicePath, &ExitDataSize, &ExitData); in BdsBootDeviceSelect() 291 BootOption->StatusString = GetStringById (STRING_TOKEN (STR_BOOT_FAILED)); in BdsBootDeviceSelect() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
D | BmBoot.c | 57 EFI_BOOT_MANAGER_LOAD_OPTION *BootOption in BmIsAutoCreateBootOption() argument 60 if ((BootOption->OptionalDataSize == sizeof (EFI_GUID)) && in BmIsAutoCreateBootOption() 61 CompareGuid ((EFI_GUID *) BootOption->OptionalData, &mBmAutoCreateBootOptionGuid) in BmIsAutoCreateBootOption() 83 EFI_BOOT_MANAGER_LOAD_OPTION BootOption; in BmFindBootOptionInVariable() local 100 Status = EfiBootManagerVariableToLoadOption (OptionName, &BootOption); in BmFindBootOptionInVariable() 103 ASSERT (OptionToFind->OptionNumber == BootOption.OptionNumber); in BmFindBootOptionInVariable() 104 if ((OptionToFind->Attributes == BootOption.Attributes) && in BmFindBootOptionInVariable() 105 (StrCmp (OptionToFind->Description, BootOption.Description) == 0) && in BmFindBootOptionInVariable() 106 …(CompareMem (OptionToFind->FilePath, BootOption.FilePath, GetDevicePathSize (OptionToFind->FilePat… in BmFindBootOptionInVariable() 107 (OptionToFind->OptionalDataSize == BootOption.OptionalDataSize) && in BmFindBootOptionInVariable() [all …]
|
D | BmHotkey.c | 69 UINT8 *BootOption; in BmIsKeyOptionValid() local 82 mBmLoadOptionName[LoadOptionTypeBoot], KeyOption->BootOption in BmIsKeyOptionValid() 84 GetEfiGlobalVariable2 (OptionName, (VOID **) &BootOption, &BootOptionSize); in BmIsKeyOptionValid() 86 if (BootOption == NULL) { in BmIsKeyOptionValid() 93 gBS->CalculateCrc32 (BootOption, BootOptionSize, &Crc); in BmIsKeyOptionValid() 94 FreePool (BootOption); in BmIsKeyOptionValid() 420 mBmLoadOptionName[LoadOptionTypeBoot], Hotkey->BootOption in BmHotkeyCallback() 694 Hotkey->BootOption = KeyOption->BootOption; in BmProcessKeyOption() 974 VOID *BootOption; in EfiBootManagerAddKeyOptionVariable() local 988 GetEfiGlobalVariable2 (BootOptionName, &BootOption, &BootOptionSize); in EfiBootManagerAddKeyOptionVariable() [all …]
|
D | BmMisc.c | 442 BOOLEAN BootOption; in EfiBootManagerDispatchDeferredImages() local 483 &BootOption in EfiBootManagerDispatchDeferredImages() 493 BootOption, in EfiBootManagerDispatchDeferredImages()
|
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PlatformBootManagerLib/ |
D | PlatformBootManager.c | 185 EFI_BOOT_MANAGER_LOAD_OPTION BootOption; in PlatformBootManagerBeforeConsole() local 201 EfiBootManagerGetBootManagerMenu (&BootOption); in PlatformBootManagerBeforeConsole() 202 EfiBootManagerAddKeyOptionVariable (NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL); in PlatformBootManagerBeforeConsole() 209 EfiBootManagerGetBootManagerMenu (&BootOption); in PlatformBootManagerBeforeConsole() 210 EfiBootManagerAddKeyOptionVariable (NULL, (UINT16) BootOption.OptionNumber, 0, &Down, NULL); in PlatformBootManagerBeforeConsole()
|
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/ |
D | LoadDeferredImage.c | 43 BOOLEAN BootOption; in LoadDeferredImage() local 85 &BootOption in LoadDeferredImage() 95 BootOption, in LoadDeferredImage()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeDeferImageLoadLib/ |
D | DxeDeferImageLoadLib.h | 56 BOOLEAN BootOption; member 102 OUT BOOLEAN *BootOption
|
D | DxeDeferImageLoadLib.c | 700 CurImageInfo->BootOption = IsBootOption (ImageDevicePath); in PutDefferedImageInfo() 739 OUT BOOLEAN *BootOption in GetDefferedImageInfo() argument 752 if ((ImageDevicePath == NULL) || (BootOption == NULL)) { in GetDefferedImageInfo() 768 *BootOption = ReqImageInfo->BootOption; in GetDefferedImageInfo()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Application/BootManagerMenuApp/ |
D | BootManagerMenu.c | 232 IN EFI_BOOT_MANAGER_LOAD_OPTION *BootOption in IsBootManagerMenu() argument 243 …return (BOOLEAN) (!EFI_ERROR (Status) && (BootOption->OptionNumber == BootManagerMenu.OptionNumber… in IsBootManagerMenu() 256 IN EFI_BOOT_MANAGER_LOAD_OPTION *BootOption in IgnoreBootOption() argument 267 …if (CompareMem (BootOption->FilePath, ImageDevicePath, GetDevicePathSize (ImageDevicePath)) == 0) { in IgnoreBootOption() 274 if (IsBootManagerMenu (BootOption)) { in IgnoreBootOption() 281 …if (((BootOption->Attributes & LOAD_OPTION_HIDDEN) != 0) || ((BootOption->Attributes & LOAD_OPTION… in IgnoreBootOption() 301 IN EFI_BOOT_MANAGER_LOAD_OPTION *BootOption, in InitializeBootMenuData() argument 309 if (BootOption == NULL || BootMenuData == NULL) { in InitializeBootMenuData() 321 if (IgnoreBootOption (&BootOption[Index])) { in InitializeBootMenuData() 325 ASSERT (BootOption[Index].Description != NULL); in InitializeBootMenuData() [all …]
|
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PlatformBootManagerLib/ |
D | PlatformBootManager.c | 141 CONST EFI_BOOT_MANAGER_LOAD_OPTION *BootOption in BootOptionPriority() argument 147 if (StrCmp (BootOption->Description, L"UEFI Shell") == 0) { in BootOptionPriority() 334 EFI_BOOT_MANAGER_LOAD_OPTION BootOption; in PlatformBootManagerAfterConsole() local 354 EfiBootManagerGetBootManagerMenu (&BootOption); in PlatformBootManagerAfterConsole() 355 EfiBootManagerAddKeyOptionVariable (NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL); in PlatformBootManagerAfterConsole()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/ |
D | LegacyBootMaintUi.c | 154 EFI_BOOT_MANAGER_LOAD_OPTION BootOption; in OrderLegacyBootOption4SameType() local 180 Status = EfiBootManagerVariableToLoadOption (OptionName, &BootOption); in OrderLegacyBootOption4SameType() 183 if ((DevicePathType (BootOption.FilePath) == BBS_DEVICE_PATH) && in OrderLegacyBootOption4SameType() 184 (DevicePathSubType (BootOption.FilePath) == BBS_BBS_DP)) { in OrderLegacyBootOption4SameType() 188 ASSERT (BootOption.OptionalDataSize == sizeof (LEGACY_BOOT_OPTION_BBS_DATA)); in OrderLegacyBootOption4SameType() 190 DeviceTypeArray[Index] = ((BBS_BBS_DEVICE_PATH *) BootOption.FilePath)->DeviceType; in OrderLegacyBootOption4SameType() 191 BbsIndexArray [Index] = ((LEGACY_BOOT_OPTION_BBS_DATA *) BootOption.OptionalData)->BbsIndex; in OrderLegacyBootOption4SameType() 196 EfiBootManagerFreeLoadOption (&BootOption); in OrderLegacyBootOption4SameType() 1312 EFI_BOOT_MANAGER_LOAD_OPTION *BootOption; in GetLegacyOptions() local 1345 BootOption = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot); in GetLegacyOptions() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/ |
D | UefiBootManagerLib.h | 271 UINT16 BootOption; member 417 IN EFI_BOOT_MANAGER_LOAD_OPTION *BootOption 435 EFI_BOOT_MANAGER_LOAD_OPTION *BootOption 475 IN EFI_BOOT_MANAGER_LOAD_OPTION *BootOption
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | BdsBoot.c | 73 CHAR16 BootOption[9]; in BdsDeleteBootOption() local 77 UnicodeSPrint (BootOption, sizeof (BootOption), L"Boot%04x", OptionNumber); in BdsDeleteBootOption() 79 BootOption, in BdsDeleteBootOption() 506 UINT16 BootOption[10]; in BdsDeleteAllInvalidLegacyBootOptions() local 543 UnicodeSPrint (BootOption, sizeof (BootOption), L"Boot%04x", BootOrder[Index]); in BdsDeleteAllInvalidLegacyBootOptions() 545 BootOption, in BdsDeleteAllInvalidLegacyBootOptions() 552 BootOption, in BdsDeleteAllInvalidLegacyBootOptions() 669 CHAR16 BootOption[9]; in BdsFindLegacyBootOptionByDevTypeAndName() local 686 UnicodeSPrint (BootOption, sizeof (BootOption), L"Boot%04x", (UINTN) BootOrder[Index]); in BdsFindLegacyBootOptionByDevTypeAndName() 688 BootOption, in BdsFindLegacyBootOptionByDevTypeAndName() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | BdsBoot.c | 75 CHAR16 BootOption[9]; in BdsDeleteBootOption() local 79 UnicodeSPrint (BootOption, sizeof (BootOption), L"Boot%04x", OptionNumber); in BdsDeleteBootOption() 81 BootOption, in BdsDeleteBootOption() 508 UINT16 BootOption[10]; in BdsDeleteAllInvalidLegacyBootOptions() local 545 UnicodeSPrint (BootOption, sizeof (BootOption), L"Boot%04x", BootOrder[Index]); in BdsDeleteAllInvalidLegacyBootOptions() 547 BootOption, in BdsDeleteAllInvalidLegacyBootOptions() 554 BootOption, in BdsDeleteAllInvalidLegacyBootOptions() 671 CHAR16 BootOption[9]; in BdsFindLegacyBootOptionByDevTypeAndName() local 688 UnicodeSPrint (BootOption, sizeof (BootOption), L"Boot%04x", (UINTN) BootOrder[Index]); in BdsFindLegacyBootOptionByDevTypeAndName() 690 BootOption, in BdsFindLegacyBootOptionByDevTypeAndName() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/ |
D | BootOption.c | 266 EFI_BOOT_MANAGER_LOAD_OPTION *BootOption; in BOpt_GetBootOptions() local 296 BootOption = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot); in BOpt_GetBootOptions() 301 …if (((BootOption[Index].Attributes & LOAD_OPTION_HIDDEN) != 0) || ((BootOption[Index].Attributes &… in BOpt_GetBootOptions() 419 EfiBootManagerFreeLoadOptions (BootOption, BootOptionCount); in BOpt_GetBootOptions() 865 EFI_BOOT_MANAGER_LOAD_OPTION BootOption; in BootFromFile() local 873 &BootOption, in BootFromFile() 888 EfiBootManagerBoot (&BootOption); in BootFromFile() 893 EfiBootManagerFreeLoadOption (&BootOption); in BootFromFile()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/PlatformBootManagerLib/ |
D | PlatformBm.c | 400 EFI_BOOT_MANAGER_LOAD_OPTION BootOption; in PlatformRegisterOptionsAndKeys() local 417 Status = EfiBootManagerGetBootManagerMenu (&BootOption); in PlatformRegisterOptionsAndKeys() 420 NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL in PlatformRegisterOptionsAndKeys() 424 NULL, (UINT16) BootOption.OptionNumber, 0, &Esc, NULL in PlatformRegisterOptionsAndKeys()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | DeferredImageLoad.h | 68 OUT BOOLEAN *BootOption
|
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/PlatformBootManagerLib/ |
D | PlatformBm.c | 531 EFI_BOOT_MANAGER_LOAD_OPTION BootOption; in PlatformRegisterOptionsAndKeys() local 548 Status = EfiBootManagerGetBootManagerMenu (&BootOption); in PlatformRegisterOptionsAndKeys() 551 NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL in PlatformRegisterOptionsAndKeys() 555 NULL, (UINT16) BootOption.OptionNumber, 0, &Esc, NULL in PlatformRegisterOptionsAndKeys()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformBootManagerLib/ |
D | PlatformBootManager.c | 207 EFI_BOOT_MANAGER_LOAD_OPTION BootOption; in PlatformBootManagerBeforeConsole() local 243 EfiBootManagerGetBootManagerMenu (&BootOption); in PlatformBootManagerBeforeConsole() 244 EfiBootManagerAddKeyOptionVariable (NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL); in PlatformBootManagerBeforeConsole()
|