Home
last modified time | relevance | path

Searched refs:OptionalDataSize (Results 1 – 19 of 19) sorted by relevance

/device/linaro/bootloader/edk2/ArmPlatformPkg/Bds/
DBootOption.c36 …EfiApplication (gImageHandle, BootOption->FilePathList, BootOption->OptionalDataSize, BootOption->… in BootOptionStart()
89 IN UINTN OptionalDataSize in BootOptionSetFields() argument
109 …ze = sizeof(UINT32) + sizeof(UINT16) + BootDescriptionSize + FilePathListLength + OptionalDataSize; in BootOptionSetFields()
141 CopyMem (BootOption->OptionalData, OptionalData, OptionalDataSize); in BootOptionSetFields()
144 BootOption->OptionalDataSize = OptionalDataSize; in BootOptionSetFields()
165 IN UINTN OptionalDataSize, in BootOptionCreate() argument
184 …ionSetFields (BootOption, Attributes, BootDescription, DevicePath, OptionalData, OptionalDataSize); in BootOptionCreate()
238 IN UINTN OptionalDataSize in BootOptionUpdate() argument
245 …SetFields (BdsLoadOption, Attributes, BootDescription, DevicePath, OptionalData, OptionalDataSize); in BootOptionUpdate()
DBootMenu.c269 UINTN OptionalDataSize; in BootMenuAddBootOption() local
339 OptionalDataSize = StrSize (CmdLine); in BootMenuAddBootOption()
350 …ptionCreate (Attributes, BootDescription, DevicePath, OptionalData, OptionalDataSize, &BdsLoadOpti… in BootMenuAddBootOption()
407 UINTN OptionalDataSize; in BootMenuUpdateBootOption() local
474 if (BootOption->OptionalDataSize > 0) { in BootMenuUpdateBootOption()
492 BootOption->OptionalDataSize) in BootMenuUpdateBootOption()
498 BootOption->OptionalDataSize) in BootMenuUpdateBootOption()
519 OptionalDataSize = StrSize (UnicodeCmdLine); in BootMenuUpdateBootOption()
528 OptionalDataSize = AsciiStrSize (CmdLine); in BootMenuUpdateBootOption()
533 OptionalDataSize = BootOption->OptionalDataSize; in BootMenuUpdateBootOption()
[all …]
DBdsInternal.h199 IN UINTN OptionalDataSize,
210 IN UINTN OptionalDataSize
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsLoadOption.c58 LoadOption->OptionalDataSize = 0; in BootOptionParseLoadOption()
61 …LoadOption->OptionalDataSize = EfiLoadOptionSize - ((UINTN)LoadOption->OptionalData - EfiLoadOptio… in BootOptionParseLoadOption()
144 …of(UINT16) + DescriptionSize + BdsLoadOption->FilePathListLength + BdsLoadOption->OptionalDataSize; in BootOptionToLoadOptionVariable()
183 if (BdsLoadOption->OptionalDataSize > 0) { in BootOptionToLoadOptionVariable()
184 CopyMem (EfiLoadOptionPtr, BdsLoadOption->OptionalData, BdsLoadOption->OptionalDataSize); in BootOptionToLoadOptionVariable()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmLoadOption.c218 + Option->OptionalDataSize; in EfiBootManagerLoadOptionToVariable()
236 CopyMem (Ptr, Option->OptionalData, Option->OptionalDataSize); in EfiBootManagerLoadOptionToVariable()
479 IN UINT32 OptionalDataSize in EfiBootManagerInitializeLoadOption() argument
486 if (((OptionalData != NULL) && (OptionalDataSize == 0)) || in EfiBootManagerInitializeLoadOption()
487 ((OptionalData == NULL) && (OptionalDataSize != 0))) { in EfiBootManagerInitializeLoadOption()
502 Option->OptionalData = AllocateCopyPool (OptionalDataSize, OptionalData); in EfiBootManagerInitializeLoadOption()
503 Option->OptionalDataSize = OptionalDataSize; in EfiBootManagerInitializeLoadOption()
538 (Key->OptionalDataSize == Array[Index].OptionalDataSize) && in EfiBootManagerFindLoadOption()
539 (CompareMem (Key->OptionalData, Array[Index].OptionalData, Key->OptionalDataSize) == 0)) { in EfiBootManagerFindLoadOption()
847 UINT32 OptionalDataSize; in EfiBootManagerVariableToLoadOptionEx() local
[all …]
DBmBoot.c68 if ((BootOption->OptionalDataSize == sizeof (EFI_GUID)) && in BmIsAutoCreateBootOption()
216 (OptionToFind->OptionalDataSize == BootOption.OptionalDataSize) && in BmFindBootOptionInVariable()
217 …pareMem (OptionToFind->OptionalData, BootOption.OptionalData, OptionToFind->OptionalDataSize) == 0) in BmFindBootOptionInVariable()
1840 ImageInfo->LoadOptionsSize = BootOption->OptionalDataSize; in EfiBootManagerBoot()
2249 BootOptions[Index].OptionalDataSize = sizeof (EFI_GUID); in EfiBootManagerRefreshAllBootOption()
2408 BootOptions[Index].OptionalDataSize in EfiBootManagerGetBootManagerMenu()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerLib/
DBootOption.c263 UINTN OptionalDataSize; in BOpt_GetBootOptions() local
416 OptionalDataSize = BootOptionSize - in BOpt_GetBootOptions()
422 NewLoadContext->OptionalData = AllocateZeroPool (OptionalDataSize); in BOpt_GetBootOptions()
427 OptionalDataSize in BOpt_GetBootOptions()
430 NewLoadContext->OptionalDataSize = OptionalDataSize; in BOpt_GetBootOptions()
662 UINTN OptionalDataSize; in BOpt_GetDriverOptions() local
760 OptionalDataSize = DriverOptionSize - in BOpt_GetDriverOptions()
766 NewLoadContext->OptionalData = AllocateZeroPool (OptionalDataSize); in BOpt_GetDriverOptions()
771 OptionalDataSize in BOpt_GetDriverOptions()
774 NewLoadContext->OptionalDataSize = OptionalDataSize; in BOpt_GetDriverOptions()
DBootMaintenanceManager.h277 UINTN OptionalDataSize; member
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/
DInstallBootMenu.c164 LoadOption->OptionalDataSize = 0; in HiKeyVerifyBootEntry()
167 …LoadOption->OptionalDataSize = EfiLoadOptionSize - ((UINTN)LoadOption->OptionalData - (UINTN)EfiLo… in HiKeyVerifyBootEntry()
170 if (((BootArgs == NULL) && (LoadOption->OptionalDataSize)) || in HiKeyVerifyBootEntry()
171 (BootArgs && (LoadOption->OptionalDataSize == 0))) { in HiKeyVerifyBootEntry()
173 } else if (BootArgs && LoadOption->OptionalDataSize) { in HiKeyVerifyBootEntry()
248 BdsLoadOption->OptionalDataSize = 512; in HiKeyCreateBootEntry()
249 BdsLoadOption->OptionalData = (CHAR16*)AllocateZeroPool (BdsLoadOption->OptionalDataSize); in HiKeyCreateBootEntry()
259 …of(UINT16) + DescriptionSize + BdsLoadOption->FilePathListLength + BdsLoadOption->OptionalDataSize; in HiKeyCreateBootEntry()
295 if (BdsLoadOption->OptionalDataSize > 0) { in HiKeyCreateBootEntry()
296 CopyMem (EfiLoadOptionPtr, BdsLoadOption->OptionalData, BdsLoadOption->OptionalDataSize); in HiKeyCreateBootEntry()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformBootManagerLib/
DPlatformBootManager.c47 (Key->OptionalDataSize == Array[Index].OptionalDataSize) && in PlatformFindLoadOption()
48 (CompareMem (Key->OptionalData, Array[Index].OptionalData, Key->OptionalDataSize) == 0)) { in PlatformFindLoadOption()
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PlatformBootManagerLib/
DPlatformBootManager.c87 (Key->OptionalDataSize == Array[Index].OptionalDataSize) && in PlatformFindLoadOption()
88 (CompareMem (Key->OptionalData, Array[Index].OptionalData, Key->OptionalDataSize) == 0)) { in PlatformFindLoadOption()
/device/linaro/bootloader/edk2/EmbeddedPkg/Application/AndroidFastboot/Arm/
DBootAndroidBootImg.c140 BdsLoadOptions->OptionalDataSize = 512; in BootAndroidBootImg()
145 …cation (gImageHandle, BdsLoadOptions->FilePathList, BdsLoadOptions->OptionalDataSize, BdsLoadOptio… in BootAndroidBootImg()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DBootOption.c870 UINTN OptionalDataSize; in BOpt_GetBootOptions() local
1040 OptionalDataSize = BootOptionSize - in BOpt_GetBootOptions()
1046 NewLoadContext->OptionalData = AllocateZeroPool (OptionalDataSize); in BOpt_GetBootOptions()
1051 OptionalDataSize in BOpt_GetBootOptions()
1054 NewLoadContext->OptionalDataSize = OptionalDataSize; in BOpt_GetBootOptions()
1480 UINTN OptionalDataSize; in BOpt_GetDriverOptions() local
1591 OptionalDataSize = DriverOptionSize - in BOpt_GetDriverOptions()
1597 NewLoadContext->OptionalData = AllocateZeroPool (OptionalDataSize); in BOpt_GetDriverOptions()
1602 OptionalDataSize in BOpt_GetDriverOptions()
1605 NewLoadContext->OptionalDataSize = OptionalDataSize; in BOpt_GetDriverOptions()
DBootMaint.h274 UINTN OptionalDataSize; member
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/
DArmJunoDxe.c114 IN UINTN OptionalDataSize in BootOptionCreate() argument
133 BootDescriptionSize + FilePathListLength + OptionalDataSize; in BootOptionCreate()
152 CopyMem (VariablePtr, OptionalData, OptionalDataSize); in BootOptionCreate()
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
DUefiBootManagerLib.h56 UINT32 OptionalDataSize; // Load Option size of OptionalData member
127 IN UINT32 OptionalDataSize
/device/linaro/bootloader/edk2/ArmPkg/Include/Library/
DBdsLib.h32 UINTN OptionalDataSize; member
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootManagerLib/
DLegacyBm.c1330 BootOption->OptionalDataSize, in LegacyBmBoot()
1421 (Key->OptionalDataSize == Array[Index].OptionalDataSize) && in LegacyBmFindBootOption()
1422 (CompareMem (Key->OptionalData, Array[Index].OptionalData, Key->OptionalDataSize) == 0)) { in LegacyBmFindBootOption()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/
DLegacyBootMaintUi.c163 ASSERT (BootOption.OptionalDataSize == sizeof (LEGACY_BOOT_OPTION_BBS_DATA)); in OrderLegacyBootOption4SameType()
1312 ASSERT (BootOption[Index].OptionalDataSize == sizeof (LEGACY_BOOT_OPTION_BBS_DATA)); in GetLegacyOptions()