Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/
DEdkiiSystemCapsuleLib.c171 UINTN FvSize; in GetFfsByName() local
184 FvSize = (UINTN)FdStart + FdSize - (UINTN)FvHeader; 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()
209 while ((UINTN)FfsHeader < (UINTN)FvHeader + FvSize - 1) { in GetFfsByName()
211 TestLength = (UINTN)((UINTN)FvHeader + FvSize - (UINTN)FfsHeader); in GetFfsByName()
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DHost.c434 UINTN FvSize; in MapFd0() local
443 FvSize = FixedPcdGet64 (PcdEmuFlashFvRecoverySize); in MapFd0()
448 FvSize, in MapFd0()
460 munmap (res, FvSize); in MapFd0()
463 FvSize, in MapFd0()
478 (void *)(UINTN)(FixedPcdGet64 (PcdEmuFlashFvRecoveryBase) + FvSize), in MapFd0()
479 FileSize - FvSize, in MapFd0()
483 FvSize in MapFd0()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/
DFwVol.c686 VolumeInfo->FvSize = FwVolHeader.FvLength; in FfsGetVolumeInfo()
814 FvBuffer = AllocateAlignedPages (EFI_SIZE_TO_PAGES ((UINT32) FvImageInfo.FvSize), FvAlignment); in FfsProcessFvFile()
818 CopyMem (FvBuffer, FvImageInfo.FvStart, (UINTN) FvImageInfo.FvSize); in FfsProcessFvFile()
829 BuildFvHob ((EFI_PHYSICAL_ADDRESS) (UINTN) FvImageInfo.FvStart, FvImageInfo.FvSize); in FfsProcessFvFile()
837 FvImageInfo.FvSize, in FfsProcessFvFile()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/
DVarCheckHiiGenFromFv.c298 UINT64 FvSize; in ParseFv()
309 FvSize = ((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) FvAddress)->FvLength; in ParseFv()
310 DEBUG ((EFI_D_INFO, "FvSize - 0x%08x\n", FvSize)); in ParseFv()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/
DVolInfo.c114 OUT UINT32 *FvSize,
235 UINT32 FvSize; in main() local
408 Status = ReadHeader (InputFile, &FvSize, &ErasePolarity); in main()
417 FvImage = malloc (FvSize); in main()
427 BytesRead = fread (FvImage, 1, FvSize, InputFile); in main()
429 if ((unsigned int) BytesRead != FvSize) { in main()
474 UINTN FvSize; in PrintFvInfo() local
478 Status = FvBufGetSize (Fv, &FvSize); in PrintFvInfo()
728 OUT UINT32 *FvSize, in ReadHeader() argument
763 if (InputFile == NULL || FvSize == NULL || ErasePolarity == NULL) { in ReadHeader()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DEfiDevice.c76 …08lx : 0x%08x\n", File->DeviceName, File->FvStart, File->FvStart + File->FvSize - 1, File->FvSize); in EblPrintFvbInfo()
385 UINTN FvSize; in EblLoadFvCmd() local
403 Status = EfiReadAllocatePool (File, &FvStart, &FvSize); in EblLoadFvCmd()
409 Status = gDS->ProcessFirmwareVolume (FvStart, FvSize, &FvHandle); in EblLoadFvCmd()
DDir.c216 …AsciiPrint ("%,20d bytes in files %,d bytes free\n", TotalSize, File->FvSize - File->FvHeaderSize … in EblDirCmd()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/FirmwareVolume/
DFirmwareVolume.h51 UINT64 FvSize; member
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/Library/
DEfiFileLib.h90 UINTN FvSize; member
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DReport.py100 FvSize = Info[2]
106 </tr>""" % (FvName, FvGuid, FvSize)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DGenFdsGlobalVariable.py493 def GenerateVtf(Output, Input, BaseAddress=None, FvSize=None): argument
499 if BaseAddress not in [None, ''] and FvSize not in [None, ''] \
500 and len(BaseAddress) == len(FvSize):
502 Cmd += ["-r", BaseAddress[I], "-s", FvSize[I]]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Binary/AmdModulePkg/Common/
DIscp.h158 …UINT32 FvSize; ///< Firmware Volume Data Size to be written, read, or e… member
/device/linaro/bootloader/edk2/MdePkg/Include/Pi/
DPiPeiCis.h774 UINT64 FvSize; member
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEPei/
DTrEEPei.c456 MeasureFvImage ((EFI_PHYSICAL_ADDRESS) (UINTN) VolumeInfo.FvStart, VolumeInfo.FvSize); in MeasureMainBios()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/EfiFileLib/
DEfiFileLib.c547 …for (Lba = 0, File->FvSize = 0, NumberOfBlocks = 0; ; File->FvSize += (BlockSize * NumberOfBlocks)… in EblFvFileDevicePath()
561 File->Size = File->FvSize; in EblFvFileDevicePath()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgPei/
DTcgPei.c481 MeasureFvImage ((EFI_PHYSICAL_ADDRESS) (UINTN) VolumeInfo.FvStart, VolumeInfo.FvSize); in MeasureMainBios()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Pei/
DTcg2Pei.c566 MeasureFvImage ((EFI_PHYSICAL_ADDRESS) (UINTN) VolumeInfo.FvStart, VolumeInfo.FvSize); in MeasureMainBios()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/
DGenFvInternalLib.c1815 IN UINT64 FvSize, in FindCorePeSection() argument
1861 InitializeFvLib(FvImageBuffer, (UINT32)FvSize); in FindCorePeSection()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/
DFwVol.c1791 VolumeInfo->FvSize = FwVolHeader.FvLength; in PeiFfsFvPpiGetVolumeInfo()