/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/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/ |
D | RecoveryModuleLoadPei.c | 420 UINT64 FvLength; in CreateHobForRecoveryCapsule() local 455 FvLength = ReadUnaligned64 (&FvHeader->FvLength); in CreateHobForRecoveryCapsule() 456 NewFvBuffer = AllocateAlignedPages (EFI_SIZE_TO_PAGES ((UINTN) FvLength), FvAlignment); in CreateHobForRecoveryCapsule() 458 …G_ERROR, "CreateHobForRecoveryCapsule (Not enough resource to allocate 0x%lx bytes)\n", FvLength)); in CreateHobForRecoveryCapsule() 461 CopyMem (NewFvBuffer, FvHeader, (UINTN) FvLength); in CreateHobForRecoveryCapsule() 466 BuildFvHob((UINT64)(UINTN)FvHeader, FvHeader->FvLength); in CreateHobForRecoveryCapsule() 467 …FO, "BuildFvHob (FV in recovery) - 0x%lx - 0x%lx\n", (UINT64)(UINTN)FvHeader, FvHeader->FvLength)); in CreateHobForRecoveryCapsule() 472 (UINT32)FvHeader->FvLength, in CreateHobForRecoveryCapsule()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
D | FvLib.h | 36 IN UINT32 FvLength 42 OUT UINT32 *FvLength
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/DxeCapsuleLib/ |
D | DxeCapsuleLib.c | 463 if (FvImage->FvLength > (UINTN) Length) { in ProcessCapsuleImage() 488 …ER *) AllocateAlignedPages ((UINTN) EFI_SIZE_TO_PAGES ((UINTN) FvImage->FvLength), (UINTN) FvAlign… in ProcessCapsuleImage() 493 CopyMem (ProcessedFvImage, FvImage, (UINTN) FvImage->FvLength); in ProcessCapsuleImage() 498 (UINTN) ProcessedFvImage->FvLength, in ProcessCapsuleImage() 511 Length -= (UINT32) FvImage->FvLength; in ProcessCapsuleImage() 512 FvImage = (EFI_FIRMWARE_VOLUME_HEADER *) ((UINT8 *) FvImage + FvImage->FvLength); in ProcessCapsuleImage()
|
/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/edk2/BaseTools/Source/C/Common/ |
D | FvLib.h | 30 IN UINT32 FvLength 37 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/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/SecurityPkg/Include/Ppi/ |
D | FirmwareVolumeInfoMeasurementExcluded.h | 23 UINT64 FvLength; member
|
/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() 1312 UINT64 FvLength; in ProcessFvFile() local 1383 FvLength = ReadUnaligned64 (&FvHeader->FvLength); in ProcessFvFile() 1384 NewFvBuffer = AllocateAlignedPages (EFI_SIZE_TO_PAGES ((UINT32) FvLength), FvAlignment); in ProcessFvFile() 1388 CopyMem (NewFvBuffer, FvHeader, (UINTN) FvLength); in ProcessFvFile() [all …]
|
/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/SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/ |
D | EdkiiSystemCapsuleLib.c | 190 DEBUG((DEBUG_ERROR, "checking FV....0x%08x - 0x%x\n", FvHeader, FvHeader->FvLength)); in GetFfsByName() 192 if (FvHeader->FvLength > FvSize) { in GetFfsByName() 193 …R, "GetFfsByName - FvSize: 0x%08x, MaxSize - 0x%08x\n", (UINTN)FvHeader->FvLength, (UINTN)FvSize)); in GetFfsByName() 196 FvSize = (UINTN)FvHeader->FvLength; in GetFfsByName() 249 FvHeader = (VOID *)(UINTN)((UINTN)FvHeader + FvHeader->FvLength); in GetFfsByName() 250 DEBUG((DEBUG_ERROR, "Next FV....0x%08x - 0x%x\n", FvHeader, FvHeader->FvLength)); in GetFfsByName()
|
/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/QuarkPlatformPkg/Platform/Pei/PlatformInit/Generic/ |
D | Recovery.c | 312 FvHeader->FvLength in PlatformRecoveryModule() 320 (UINT32) FvHeader->FvLength, in PlatformRecoveryModule() 328 CapsuleHeader = (EFI_CAPSULE_HEADER *) ((UINT8 *) Buffer + FvHeader->FvLength); in PlatformRecoveryModule()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEPei/ |
D | TrEEPei.c | 345 IN UINT64 FvLength in MeasureFvImage() argument 360 DEBUG ((DEBUG_INFO, "The FV which is excluded by TrEEPei has the size: 0x%x\n", FvLength)); in MeasureFvImage() 379 FvBlob.BlobLength = FvLength; in MeasureFvImage() 402 mMeasuredBaseFvInfo[mMeasuredBaseFvIndex].BlobLength = FvLength; in MeasureFvImage()
|
/device/linaro/bootloader/edk2/OvmfPkg/Sec/ |
D | SecMain.c | 107 Distance = (UINTN) (*BootFv)->FvLength; in FindMainFv() 119 if ((UINTN) Fv->FvLength > Distance) { in FindMainFv() 270 EndOfFirmwareVolume = CurrentAddress + Fv->FvLength; in FindFfsFileAndSection() 601 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 808 SecCoreData.BootFirmwareVolumeSize = (UINTN) BootFv->FvLength; in SecCoreStartupWithStack() 859 SecCoreData->BootFirmwareVolumeSize = (UINTN) BootFv->FvLength; in SecStartupPhase2()
|
/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()
|