Home
last modified time | relevance | path

Searched refs:BootOptions (Results 1 – 14 of 14) sorted by relevance

/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/Library/PlatformBootManagerLib/
DPlatformBm.c281 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in PlatformRegisterFvBootOption() local
316 BootOptions = EfiBootManagerGetLoadOptions ( in PlatformRegisterFvBootOption()
321 &NewOption, BootOptions, BootOptionCount in PlatformRegisterFvBootOption()
330 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in PlatformRegisterFvBootOption()
345 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in PlatformRegisterBootSd() local
372 BootOptions = EfiBootManagerGetLoadOptions ( in PlatformRegisterBootSd()
377 &NewOption, BootOptions, BootOptionCount in PlatformRegisterBootSd()
386 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in PlatformRegisterBootSd()
403 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in PlatformRegisterBootGrub() local
443 BootOptions = EfiBootManagerGetLoadOptions ( in PlatformRegisterBootGrub()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmBoot.c86 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in BmFindBootOptionInVariable() local
120 BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot); in BmFindBootOptionInVariable()
122 Index = EfiBootManagerFindLoadOption (OptionToFind, BootOptions, BootOptionCount); in BmFindBootOptionInVariable()
124 OptionNumber = BootOptions[Index].OptionNumber; in BmFindBootOptionInVariable()
127 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in BmFindBootOptionInVariable()
1936 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in BmEnumerateBootOptions() local
1947 BootOptions = NULL; in BmEnumerateBootOptions()
1986 BootOptions = ReallocatePool ( in BmEnumerateBootOptions()
1989 BootOptions in BmEnumerateBootOptions()
1991 ASSERT (BootOptions != NULL); in BmEnumerateBootOptions()
[all …]
DBmBootDescription.c680 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions, in BmMakeBootOptionDescriptionUnique() argument
711 DescriptionSize = StrSize (BootOptions[Base].Description); in BmMakeBootOptionDescriptionUnique()
713 …if (!Visited[Index] && StrCmp (BootOptions[Base].Description, BootOptions[Index].Description) == 0… in BmMakeBootOptionDescriptionUnique()
716 FreePool (BootOptions[Index].Description); in BmMakeBootOptionDescriptionUnique()
717 BootOptions[Index].Description = AllocatePool (DescriptionSize + MaxSuffixSize); in BmMakeBootOptionDescriptionUnique()
719 BootOptions[Index].Description, DescriptionSize + MaxSuffixSize, in BmMakeBootOptionDescriptionUnique()
721 BootOptions[Base].Description, MatchCount in BmMakeBootOptionDescriptionUnique()
DInternalBm.h417 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions,
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/PlatformBootManagerLib/
DPlatformBm.c339 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in PlatformRegisterFvBootOption() local
374 BootOptions = EfiBootManagerGetLoadOptions ( in PlatformRegisterFvBootOption()
379 &NewOption, BootOptions, BootOptionCount in PlatformRegisterFvBootOption()
387 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in PlatformRegisterFvBootOption()
411 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in RemoveStaleFvFileOptions() local
415 BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, in RemoveStaleFvFileOptions()
427 Node1 = BootOptions[Index].FilePath; in RemoveStaleFvFileOptions()
497 BootOptions[Index].OptionNumber, LoadOptionTypeBoot); in RemoveStaleFvFileOptions()
501 DevicePathString = ConvertDevicePathToText(BootOptions[Index].FilePath, in RemoveStaleFvFileOptions()
507 (UINT32)BootOptions[Index].OptionNumber, in RemoveStaleFvFileOptions()
[all …]
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PlatformBootManagerLib/
DPlatformBootManager.c286 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in GetBootManagerMenuAppOption() local
292 BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot); in GetBootManagerMenuAppOption()
295 if (IsBootManagerMenuAppFilePath (BootOptions[Index].FilePath)) { in GetBootManagerMenuAppOption()
296 OptionNumber = BootOptions[Index].OptionNumber; in GetBootManagerMenuAppOption()
301 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in GetBootManagerMenuAppOption()
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PlatformBootManagerLib/
DPlatformBootManager.c129 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in PlatformRegisterFvBootOption() local
155 BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot); in PlatformRegisterFvBootOption()
157 OptionIndex = PlatformFindLoadOption (&NewOption, BootOptions, BootOptionCount); in PlatformRegisterFvBootOption()
164 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in PlatformRegisterFvBootOption()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootManagerLib/
DLegacyBm.c1354 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in LegacyBmEnumerateAllBootOptions() local
1358 BootOptions = NULL; in LegacyBmEnumerateAllBootOptions()
1383 BootOptions = ReallocatePool ( in LegacyBmEnumerateAllBootOptions()
1386 BootOptions in LegacyBmEnumerateAllBootOptions()
1388 ASSERT (BootOptions != NULL); in LegacyBmEnumerateAllBootOptions()
1390 …Status = LegacyBmCreateLegacyBootOption (&BootOptions[(*BootOptionCount)++], &BbsTable[Index], Ind… in LegacyBmEnumerateAllBootOptions()
1394 return BootOptions; in LegacyBmEnumerateAllBootOptions()
1449 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in LegacyBmRefreshAllBootOption() local
1509 BootOptions = LegacyBmEnumerateAllBootOptions (&BootOptionCount); in LegacyBmRefreshAllBootOption()
1512 …if (LegacyBmFindBootOption (&BootOptions[Index], ExistingBootOptions, ExistingBootOptionCount) == … in LegacyBmRefreshAllBootOption()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Library/PlatformBootManagerLib/
DBdsPlatform.c97 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in PlatformRegisterFvBootOption() local
132 BootOptions = EfiBootManagerGetLoadOptions ( in PlatformRegisterFvBootOption()
137 &NewOption, BootOptions, BootOptionCount in PlatformRegisterFvBootOption()
145 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in PlatformRegisterFvBootOption()
167 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in RemoveStaleFvFileOptions() local
171 BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, in RemoveStaleFvFileOptions()
183 Node1 = BootOptions[Index].FilePath; in RemoveStaleFvFileOptions()
253 BootOptions[Index].OptionNumber, LoadOptionTypeBoot); in RemoveStaleFvFileOptions()
257 DevicePathString = ConvertDevicePathToText(BootOptions[Index].FilePath, in RemoveStaleFvFileOptions()
263 (UINT32)BootOptions[Index].OptionNumber, in RemoveStaleFvFileOptions()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformBootManagerLib/
DPlatformBootManager.c74 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in PlatformRegisterFvBootOption() local
166 BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot); in PlatformRegisterFvBootOption()
168 OptionIndex = PlatformFindLoadOption (&NewOption, BootOptions, BootOptionCount); in PlatformRegisterFvBootOption()
175 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in PlatformRegisterFvBootOption()
/device/linaro/bootloader/edk2/ArmPkg/Library/PlatformBootManagerLib/
DPlatformBm.c338 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in PlatformRegisterFvBootOption() local
373 BootOptions = EfiBootManagerGetLoadOptions ( in PlatformRegisterFvBootOption()
378 &NewOption, BootOptions, BootOptionCount in PlatformRegisterFvBootOption()
386 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in PlatformRegisterFvBootOption()
/device/linaro/bootloader/edk2/OvmfPkg/Library/QemuBootOrderLib/
DQemuBootOrderLib.c339 IN CONST EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions, in CollectActiveOptions() argument
358 if ((BootOptions[Index].Attributes & LOAD_OPTION_ACTIVE) != 0) { in CollectActiveOptions()
360 (*ActiveOption)[*Count].BootOption = &BootOptions[Index]; in CollectActiveOptions()
1740 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in SetBootOrderFromQemu() local
1779 BootOptions = EfiBootManagerGetLoadOptions ( in SetBootOrderFromQemu()
1782 if (BootOptions == NULL) { in SetBootOrderFromQemu()
1788 BootOptions, BootOptionCount, &ActiveOption, &ActiveCount in SetBootOrderFromQemu()
1885 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in SetBootOrderFromQemu()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/BdsDxe/
DBdsEntry.c365 IN EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions, in BootBootOptions() argument
381 if ((BootOptions[Index].Attributes & LOAD_OPTION_ACTIVE) == 0) { in BootBootOptions()
390 if ((BootOptions[Index].Attributes & LOAD_OPTION_CATEGORY) != LOAD_OPTION_CATEGORY_BOOT) { in BootBootOptions()
398 EfiBootManagerBoot (&BootOptions[Index]); in BootBootOptions()
406 if ((BootManagerMenu != NULL) && (BootOptions[Index].Status == EFI_SUCCESS)) { in BootBootOptions()
/device/linaro/bootloader/edk2/MdeModulePkg/Application/BootManagerMenuApp/
DBootManagerMenu.c655 IN EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions, in BootFromSelectOption() argument
663 ASSERT (BootOptions != NULL); in BootFromSelectOption()
666 if (IgnoreBootOption (&BootOptions[Index])) { in BootFromSelectOption()
671 EfiBootManagerBoot (&BootOptions[Index]); in BootFromSelectOption()