/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/ |
D | FvbInfo.c | 25 UINT64 FvLength; member 107 IN UINT64 FvLength, in GetFvbInfo() argument 114 if (mPlatformFvbMediaInfo[Index].FvLength == FvLength) { in GetFvbInfo()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/SpiFvbServices/ |
D | FvbInfo.c | 244 mPlatformFtwFvbInfo[0].FvbInfo.FvLength = PcdGet32 (PcdFlashNvStorageFtwWorkingSize); in GetFtwFvbInfo() 250 mPlatformFtwFvbInfo[1].FvbInfo.FvLength = PcdGet32 (PcdFlashNvStorageFtwSpareSize); in GetFtwFvbInfo() 266 DEBUG ((EFI_D_INFO, "FvLength: 0x%lx \n", (*FvbInfo)->FvLength)); in GetFtwFvbInfo() 293 mPlatformFvbMediaInfo[0].FvbInfo.FvLength = PcdGet32 (PcdFlashFvMainSize); in GetFvbInfo() 299 mPlatformFvbMediaInfo[1].FvbInfo.FvLength = PcdGet32 (PcdFlashNvStorageVariableSize); in GetFvbInfo() 305 mPlatformFvbMediaInfo[2].FvbInfo.FvLength = PcdGet32 (PcdFlashFvRecoverySize); in GetFvbInfo() 311 mPlatformFvbMediaInfo[3].FvbInfo.FvLength = PcdGet32 (PcdFlashFvPayloadSize); in GetFvbInfo() 327 DEBUG ((EFI_D_INFO, "FvLength: 0x%lx \n", (*FvbInfo)->FvLength)); in GetFvbInfo()
|
/device/linaro/bootloader/edk2/Nt32Pkg/FvbServicesRuntimeDxe/ |
D | FvbInfo.c | 52 UINT64 FvLength; member 146 IN UINT64 FvLength, in GetFvbInfo() argument 153 if (mPlatformFvbMediaInfo[Index].FvLength == FvLength) { in GetFvbInfo()
|
/device/linaro/bootloader/edk2/EmulatorPkg/FvbServicesRuntimeDxe/ |
D | FvbInfo.c | 42 UINT64 FvLength; member 140 IN UINT64 FvLength, in GetFvbInfo() argument 147 if (mPlatformFvbMediaInfo[Index].FvLength == FvLength) { in GetFvbInfo()
|
/device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/ |
D | FvbInfo.c | 40 UINT64 FvLength; member 103 IN UINT64 FvLength, in GetFvbInfo() argument 128 if (mPlatformFvbMediaInfo[Index].FvLength == FvLength) { in GetFvbInfo()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/SecPeiServicesLib/ |
D | FwVol.c | 137 UINT64 FvLength; in SecFfsFindNextFile() local 149 FvLength = FwVolHeader->FvLength; in SecFfsFindNextFile() 173 while (FileOffset < (FvLength - sizeof (EFI_FFS_FILE_HEADER))) { in SecFfsFindNextFile()
|
/device/linaro/bootloader/edk2/Nt32Pkg/Sec/ |
D | FwVol.c | 141 UINT64 FvLength; in SecFfsFindNextFile() local 145 FvLength = FwVolHeader->FvLength; in SecFfsFindNextFile() 169 while (FileOffset < (FvLength - sizeof (EFI_FFS_FILE_HEADER))) { in SecFfsFindNextFile()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/DxeCapsuleLib/ |
D | DxeCapsuleLib.c | 465 if (FvImage->FvLength > (UINTN) Length) { in ProcessCapsuleImage() 490 …ER *) AllocateAlignedPages ((UINTN) EFI_SIZE_TO_PAGES ((UINTN) FvImage->FvLength), (UINTN) FvAlign… in ProcessCapsuleImage() 495 CopyMem (ProcessedFvImage, FvImage, (UINTN) FvImage->FvLength); in ProcessCapsuleImage() 500 (UINTN) ProcessedFvImage->FvLength, in ProcessCapsuleImage() 513 Length -= (UINT32) FvImage->FvLength; in ProcessCapsuleImage() 514 FvImage = (EFI_FIRMWARE_VOLUME_HEADER *) ((UINT8 *) FvImage + FvImage->FvLength); in ProcessCapsuleImage()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
D | FvLib.h | 36 IN UINT32 FvLength 42 OUT UINT32 *FvLength
|
/device/linaro/bootloader/edk2/CorebootModulePkg/CbSupportPei/ |
D | CbSupportPei.c | 91 (FwVolHeader->FvLength == ((UINTN) -1)) || in IsFvHeaderValid() 127 …ROR, "Found one valid fv : 0x%lx.\n", TempPtr, ((EFI_FIRMWARE_VOLUME_HEADER* )TempPtr)->FvLength)); in CbPeiReportRemainedFvs() 132 (UINT32) (UINTN) ((EFI_FIRMWARE_VOLUME_HEADER* )TempPtr)->FvLength, in CbPeiReportRemainedFvs() 136 …ldFvHob ((EFI_PHYSICAL_ADDRESS)(UINTN) TempPtr, ((EFI_FIRMWARE_VOLUME_HEADER* )TempPtr)->FvLength); in CbPeiReportRemainedFvs() 139 TempPtr += ((EFI_FIRMWARE_VOLUME_HEADER* )TempPtr)->FvLength; in CbPeiReportRemainedFvs()
|
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtFirmwareVolumePei/ |
D | WinntFwh.c | 96 BuildFvHob (FdBase, FvHeader->FvLength); in PeimInitializeWinNtFwh() 109 FvHeader->FvLength + in PeimInitializeWinNtFwh()
|
/device/linaro/bootloader/edk2/EmulatorPkg/FirmwareVolumePei/ |
D | FirmwareVolumePei.c | 81 BuildFvHob (FdBase, FvHeader->FvLength); in PeimInitializeFirmwareVolumePei() 94 FvHeader->FvLength + in PeimInitializeFirmwareVolumePei()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Variable/BlockVariableDxe/ |
D | BlockVariableDxe.c | 236 UINTN FvLength; in ValidateFvHeader() local 238 …FvLength = (UINTN) (PcdGet32(PcdFlashNvStorageVariableSize) + PcdGet32(PcdFlashNvStorageFtwWorking… in ValidateFvHeader() 248 || (FwVolHeader->FvLength != FvLength) in ValidateFvHeader() 309 FirmwareVolumeHeader->FvLength = in InitNonVolatileVariableStore() 436 if (NvStorageSize > ((EFI_FIRMWARE_VOLUME_HEADER*)Headers)->FvLength) { in BlockVariableDxeInitialize() 437 NvStorageSize = ((EFI_FIRMWARE_VOLUME_HEADER*)Headers)->FvLength; in BlockVariableDxeInitialize()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | FvLib.h | 30 IN UINT32 FvLength 37 OUT UINT32 *FvLength
|
D | FvLib.c | 34 IN UINT32 FvLength in InitializeFvLib() argument 63 mFvLength = FvLength; in InitializeFvLib() 71 OUT UINT32 *FvLength in GetFvHeader() argument 106 *FvLength = mFvLength; in GetFvHeader()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/ |
D | DebugAgentSymbolsBaseLib.c | 110 UINT64 FvLength; in GetFfsFile() local 120 FvLength = FwVolHeader->FvLength; in GetFfsFile() 130 while (FileOffset < (FvLength - sizeof (EFI_FFS_FILE_HEADER))) { in GetFfsFile()
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/ |
D | Reclaim.c | 82 if ((Address >= FvbBaseAddress) && (Address <= (FvbBaseAddress + FwVolHeader->FvLength))) { in GetFvbHandleByAddress() 157 if ((Address >= FvbBaseAddress) && (Address <= (FvbBaseAddress + FwVolHeader->FvLength))) { in GetLbaAndOffsetByAddress() 158 if ((FwVolHeader->FvLength) > (FwVolHeader->HeaderLength)) { in GetLbaAndOffsetByAddress()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/ |
D | FwVol.c | 220 … ((UINT64) (UINTN) FileHandle <= ((UINT64) (UINTN) FwVolHeader + FwVolHeader->FvLength - 1))) { in FileHandleToVolume() 273 UINT64 FvLength; in FindFileEx() local 287 FvLength = FwVolHeader->FvLength; in FindFileEx() 330 while (FileOffset < (FvLength - sizeof (EFI_FFS_FILE_HEADER))) { in FindFileEx() 488 (UINTN)BfvHeader->FvLength, in PeiInitializeFv() 504 BfvHeader->FvLength, in PeiInitializeFv() 1296 UINT64 FvLength; in ProcessFvFile() local 1367 FvLength = ReadUnaligned64 (&FvHeader->FvLength); in ProcessFvFile() 1368 NewFvBuffer = AllocateAlignedPages (EFI_SIZE_TO_PAGES ((UINT32) FvLength), FvAlignment); in ProcessFvFile() 1372 CopyMem (NewFvBuffer, FvHeader, (UINTN) FvLength); in ProcessFvFile() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Include/Ppi/ |
D | FirmwareVolumeInfoMeasurementExcluded.h | 23 UINT64 FvLength; member
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/ |
D | FwVol.c | 138 … ((UINT64) (UINTN) FileHandle <= ((UINT64) (UINTN) FwVolHeader + FwVolHeader->FvLength - 1))) { in FileHandleToVolume() 177 UINT64 FvLength; in FindFileEx() local 184 FvLength = FwVolHeader->FvLength; in FindFileEx() 218 while (FileOffset < (FvLength - sizeof (EFI_FFS_FILE_HEADER))) { in FindFileEx() 686 VolumeInfo->FvSize = FwVolHeader.FvLength; in FfsGetVolumeInfo()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
D | NorFlashFvbDxe.c | 88 FirmwareVolumeHeader->FvLength = in InitializeFvAndVariableStoreHeaders() 144 UINTN FvLength; in ValidateFvHeader() local 148 FvLength = PcdGet32(PcdFlashNvStorageVariableSize) + PcdGet32(PcdFlashNvStorageFtwWorkingSize) + in ValidateFvHeader() 158 || (FwVolHeader->FvLength != FvLength) in ValidateFvHeader()
|
/device/linaro/bootloader/edk2/OvmfPkg/Sec/ |
D | SecMain.c | 106 Distance = (UINTN) (*BootFv)->FvLength; in FindMainFv() 118 if ((UINTN) Fv->FvLength > Distance) { in FindMainFv() 269 EndOfFirmwareVolume = CurrentAddress + Fv->FvLength; in FindFfsFileAndSection() 590 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 797 SecCoreData.BootFirmwareVolumeSize = (UINTN) BootFv->FvLength; in SecCoreStartupWithStack() 848 SecCoreData->BootFirmwareVolumeSize = (UINTN) BootFv->FvLength; in SecStartupPhase2()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/Generic/ |
D | Recovery.c | 318 FvHeader->FvLength in PlatformRecoveryModule() 326 (UINT32) FvHeader->FvLength, in PlatformRecoveryModule() 334 CapsuleHeader = (EFI_CAPSULE_HEADER *) ((UINT8 *) Buffer + FvHeader->FvLength); in PlatformRecoveryModule()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/ |
D | FwVol.c | 259 if ((FvHeader->FvLength == CachedFvHeader->FvLength) && in FwVolInheritAuthenticationStatus() 280 … if (CompareMem ((VOID *) FvHeader, (VOID *) CachedFvHeader, (UINTN) FvHeader->FvLength) == 0) { in FwVolInheritAuthenticationStatus() 369 FwCache = AllocateZeroPool ((UINTN) FwVolHeader->FvLength); in FvCheck() 484 TopFvAddress = (UINT8 *) (UINTN) (FvDevice->CachedFv + FvDevice->FwVolHeader->FvLength); in FvCheck()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEPei/ |
D | TrEEPei.c | 380 IN UINT64 FvLength in MeasureFvImage() argument 395 DEBUG ((DEBUG_INFO, "The FV which is excluded by TrEEPei has the size: 0x%x\n", FvLength)); in MeasureFvImage() 414 FvBlob.BlobLength = FvLength; in MeasureFvImage() 437 mMeasuredBaseFvInfo[mMeasuredBaseFvIndex].BlobLength = FvLength; in MeasureFvImage()
|