Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/ArmPlatformPkg/Bds/
DBootOption.c95 UINT16 FilePathListLength; in BootOptionSetFields() local
106 FilePathListLength = GetUnalignedDevicePathSize (DevicePath); in BootOptionSetFields()
109 …EfiLoadOptionSize = sizeof(UINT32) + sizeof(UINT16) + BootDescriptionSize + FilePathListLength + O… in BootOptionSetFields()
123 BootOption->FilePathListLength = FilePathListLength; in BootOptionSetFields()
124 *(UINT16*)EfiLoadOptionPtr = FilePathListLength; in BootOptionSetFields()
134 CopyMem (EfiLoadOptionPtr, DevicePath, FilePathListLength); in BootOptionSetFields()
135 EfiLoadOptionPtr += FilePathListLength; in BootOptionSetFields()
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsLoadOption.c50 LoadOption->FilePathListLength = *(UINT16*)(EfiLoadOptionPtr + sizeof(UINT32)); in BootOptionParseLoadOption()
56 …if ((UINTN)((UINTN)LoadOption->FilePathList + LoadOption->FilePathListLength - EfiLoadOptionPtr) =… in BootOptionParseLoadOption()
60 …on->OptionalData = (VOID*)((UINTN)(LoadOption->FilePathList) + LoadOption->FilePathListLength); in BootOptionParseLoadOption()
141 ASSERT (GetDevicePathSize (BdsLoadOption->FilePathList) == BdsLoadOption->FilePathListLength); in BootOptionToLoadOptionVariable()
144 …sizeof(UINT32) + sizeof(UINT16) + DescriptionSize + BdsLoadOption->FilePathListLength + BdsLoadOpt… in BootOptionToLoadOptionVariable()
162 *(UINT16*)EfiLoadOptionPtr = BdsLoadOption->FilePathListLength; in BootOptionToLoadOptionVariable()
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/
DArmJunoDxe.c120 UINTN FilePathListLength; in BootOptionCreate() local
123 FilePathListLength = GetDevicePathSize (DevicePath); in BootOptionCreate()
133 BootDescriptionSize + FilePathListLength + OptionalDataSize; in BootOptionCreate()
143 *(UINT16*)VariablePtr = FilePathListLength; in BootOptionCreate()
149 CopyMem (VariablePtr, DevicePath, FilePathListLength); in BootOptionCreate()
151 VariablePtr += FilePathListLength; in BootOptionCreate()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerLib/
DBootOption.c387 NewLoadContext->FilePathListLength = *(UINT16 *) LoadOptionPtr; in BOpt_GetBootOptions()
402 NewLoadContext->FilePathList = AllocateZeroPool (NewLoadContext->FilePathListLength); in BOpt_GetBootOptions()
407 NewLoadContext->FilePathListLength in BOpt_GetBootOptions()
413 LoadOptionPtr += NewLoadContext->FilePathListLength; in BOpt_GetBootOptions()
420 NewLoadContext->FilePathListLength; in BOpt_GetBootOptions()
730 NewLoadContext->FilePathListLength = *(UINT16 *) LoadOptionPtr; in BOpt_GetDriverOptions()
746 NewLoadContext->FilePathList = AllocateZeroPool (NewLoadContext->FilePathListLength); in BOpt_GetDriverOptions()
751 NewLoadContext->FilePathListLength in BOpt_GetDriverOptions()
757 LoadOptionPtr += NewLoadContext->FilePathListLength; in BOpt_GetDriverOptions()
764 NewLoadContext->FilePathListLength; in BOpt_GetDriverOptions()
DVariable.c595 NewLoadContext->FilePathListLength = *((UINT16 *) Ptr); in Var_UpdateDriverOption()
753 NewLoadContext->FilePathListLength = *((UINT16 *) Ptr); in Var_UpdateBootOption()
DBootMaintenanceManager.h283 UINT16 FilePathListLength; member
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckUefiLib/
DVarCheckUefiLibNullClass.c59 UINT16 FilePathListLength; in InternalVarCheckLoadOption() local
63 FilePathListLength = *((UINT16 *) ((UINTN) Data + sizeof (UINT32))); in InternalVarCheckLoadOption()
84 if ((UINTN) FilePathList > (MAX_ADDRESS - FilePathListLength)) { in InternalVarCheckLoadOption()
87 if (((UINTN) FilePathList + FilePathListLength) > ((UINTN) Data + DataSize)) { in InternalVarCheckLoadOption()
90 if (FilePathListLength < sizeof (EFI_DEVICE_PATH_PROTOCOL)) { in InternalVarCheckLoadOption()
93 if (!IsDevicePathValid (FilePathList, FilePathListLength)) { in InternalVarCheckLoadOption()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/
DInstallBootMenu.c158 LoadOption->FilePathListLength = *(UINT16*)(EfiLoadOption + sizeof(UINT32)); in HiKeyVerifyBootEntry()
162 …if ((UINTN)((UINTN)LoadOption->FilePathList + LoadOption->FilePathListLength - (UINTN)EfiLoadOptio… in HiKeyVerifyBootEntry()
166 …on->OptionalData = (VOID*)((UINTN)(LoadOption->FilePathList) + LoadOption->FilePathListLength); in HiKeyVerifyBootEntry()
242 BdsLoadOption->FilePathListLength = GetDevicePathSize (BdsLoadOption->FilePathList); in HiKeyCreateBootEntry()
259 …sizeof(UINT32) + sizeof(UINT16) + DescriptionSize + BdsLoadOption->FilePathListLength + BdsLoadOpt… in HiKeyCreateBootEntry()
274 *(UINT16*)EfiLoadOptionPtr = BdsLoadOption->FilePathListLength; in HiKeyCreateBootEntry()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DBootOption.c1008 NewLoadContext->FilePathListLength = *(UINT16 *) LoadOptionPtr; in BOpt_GetBootOptions()
1020 NewLoadContext->FilePathList = AllocateZeroPool (NewLoadContext->FilePathListLength); in BOpt_GetBootOptions()
1025 NewLoadContext->FilePathListLength in BOpt_GetBootOptions()
1037 LoadOptionPtr += NewLoadContext->FilePathListLength; in BOpt_GetBootOptions()
1044 NewLoadContext->FilePathListLength; in BOpt_GetBootOptions()
1556 NewLoadContext->FilePathListLength = *(UINT16 *) LoadOptionPtr; in BOpt_GetDriverOptions()
1571 NewLoadContext->FilePathList = AllocateZeroPool (NewLoadContext->FilePathListLength); in BOpt_GetDriverOptions()
1576 NewLoadContext->FilePathListLength in BOpt_GetDriverOptions()
1588 LoadOptionPtr += NewLoadContext->FilePathListLength; in BOpt_GetDriverOptions()
1595 NewLoadContext->FilePathListLength; in BOpt_GetDriverOptions()
DVariable.c616 NewLoadContext->FilePathListLength = *((UINT16 *) Ptr); in Var_UpdateDriverOption()
803 NewLoadContext->FilePathListLength = *((UINT16 *) Ptr); in Var_UpdateBootOption()
DBootMaint.h280 UINT16 FilePathListLength; member
/device/linaro/bootloader/edk2/ArmPkg/Include/Library/
DBdsLib.h27 UINT16 FilePathListLength; member
/device/linaro/bootloader/edk2/EmbeddedPkg/Application/AndroidFastboot/Arm/
DBootAndroidBootImg.c122 BdsLoadOptions->FilePathListLength = GetDevicePathSize (BdsLoadOptions->FilePathList); in BootAndroidBootImg()
/device/linaro/bootloader/edk2/MdePkg/Include/Uefi/
DUefiSpec.h2043 UINT16 FilePathListLength; member