Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/FwImage/
Dfwimage.c227 … if (SectionHeader->PointerToRawData + SectionHeader->SizeOfRawData == Optional32->SizeOfImage) { in StripZeroPendingReloc()
231 … Optional32->SizeOfImage -= (SectionHeader->SizeOfRawData - AllignedRelocSize); in StripZeroPendingReloc()
234 *FileLength = Optional32->SizeOfImage; in StripZeroPendingReloc()
261 … if (SectionHeader->PointerToRawData + SectionHeader->SizeOfRawData == Optional64->SizeOfImage) { in StripZeroPendingReloc()
265 … Optional64->SizeOfImage -= (SectionHeader->SizeOfRawData - AllignedRelocSize); in StripZeroPendingReloc()
268 *FileLength = Optional64->SizeOfImage; in StripZeroPendingReloc()
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DHiiImageDecoder.h158 IN UINTN SizeOfImage,
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/
DBasePeCoff.c252 if (Hdr.Pe32->OptionalHeader.SizeOfImage <= SectionHeaderOffset) { in PeCoffLoaderGetPeHeader()
256 …if ((Hdr.Pe32->OptionalHeader.SizeOfImage - SectionHeaderOffset) / EFI_IMAGE_SIZEOF_SECTION_HEADER… in PeCoffLoaderGetPeHeader()
268 if (Hdr.Pe32->OptionalHeader.SizeOfHeaders >= Hdr.Pe32->OptionalHeader.SizeOfImage) { in PeCoffLoaderGetPeHeader()
338 ImageContext->ImageSize = (UINT64)Hdr.Pe32->OptionalHeader.SizeOfImage; in PeCoffLoaderGetPeHeader()
366 if (Hdr.Pe32Plus->OptionalHeader.SizeOfImage <= SectionHeaderOffset) { in PeCoffLoaderGetPeHeader()
370 …if ((Hdr.Pe32Plus->OptionalHeader.SizeOfImage - SectionHeaderOffset) / EFI_IMAGE_SIZEOF_SECTION_HE… in PeCoffLoaderGetPeHeader()
382 if (Hdr.Pe32Plus->OptionalHeader.SizeOfHeaders >= Hdr.Pe32Plus->OptionalHeader.SizeOfImage) { in PeCoffLoaderGetPeHeader()
452 ImageContext->ImageSize = (UINT64) Hdr.Pe32Plus->OptionalHeader.SizeOfImage; in PeCoffLoaderGetPeHeader()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/
DEfiImage.h192 UINT32 SizeOfImage; member
238 UINT32 SizeOfImage; member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DPeImage.h172 UINT32 SizeOfImage; member
222 UINT32 SizeOfImage; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
DPeImage.h200 UINT32 SizeOfImage; member
247 UINT32 SizeOfImage; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DGenFw.c2118 Optional32->SizeOfImage -= SectionHeader->SizeOfRawData; in main()
2127 Optional64->SizeOfImage -= SectionHeader->SizeOfRawData; in main()
2399 … if (SectionHeader->PointerToRawData + SectionHeader->SizeOfRawData == Optional32->SizeOfImage) { in main()
2403 Optional32->SizeOfImage -= (SectionHeader->SizeOfRawData - AllignedRelocSize); in main()
2406 FileLength = Optional32->SizeOfImage; in main()
2507 … if (SectionHeader->PointerToRawData + SectionHeader->SizeOfRawData == Optional64->SizeOfImage) { in main()
2511 Optional64->SizeOfImage -= (SectionHeader->SizeOfRawData - AllignedRelocSize); in main()
2514 FileLength = Optional64->SizeOfImage; in main()
2535 …y[EFI_TE_IMAGE_DIRECTORY_ENTRY_BASERELOC].VirtualAddress = Optional32->SizeOfImage - sizeof (EFI_I… in main()
2537 …y[EFI_TE_IMAGE_DIRECTORY_ENTRY_BASERELOC].VirtualAddress = Optional64->SizeOfImage - sizeof (EFI_I… in main()
DElf64Convert.c582 NtHdr->Pe32Plus.OptionalHeader.SizeOfImage = 0; in ScanSections64()
1110 NtHdr->Pe32Plus.OptionalHeader.SizeOfImage = mCoffOffset; in SetImageSize64()
DElf32Convert.c587 NtHdr->Pe32.OptionalHeader.SizeOfImage = 0; in ScanSections32()
1157 NtHdr->Pe32.OptionalHeader.SizeOfImage = mCoffOffset; in SetImageSize32()
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DPeLoader.c105 *ImageSize = PeHdr.Pe32.OptionalHeader.SizeOfImage; in EfiLdrGetPeImageInfo()
223 …CodeViewOffset = PeHdr.Pe32.OptionalHeader.SizeOfImage + PeHdr.Pe32.OptionalHeader.SectionAlignmen… in EfiLdrPeCoffLoadPeImage()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DFvImage.py1161 self.SizeOfImage = 0
1194 Magic, self.SizeOfImage, SizeOfHeaders, self.Checksum, NumberOfRvaAndSizes = \
1196 … SizeOfHeaders=%x, Checksum=%x, NumberOfRvaAndSizes=%x" % (Magic, self.SizeOfImage, SizeOfHeaders,…
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/
DBasePeCoff.c140 ImageContext->ImageSize = (UINT64)Hdr.Pe32->OptionalHeader.SizeOfImage; in GluePeCoffLoaderGetPeHeader()
149 ImageContext->ImageSize = (UINT64) Hdr.Pe32Plus->OptionalHeader.SizeOfImage; in GluePeCoffLoaderGetPeHeader()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
DPeCoffLoader.c263 ImageContext->ImageSize = (UINT64)Hdr.Pe32->OptionalHeader.SizeOfImage; in PeCoffLoaderGetPeHeader()
473 ImageContext->ImageSize = (UINT64) Hdr.Pe32->OptionalHeader.SizeOfImage; in PeCoffLoaderGetImageInfo()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DBasePeCoff.c348 ImageContext->ImageSize = (UINT64) OptionHeader.Optional32->SizeOfImage; in PeCoffLoaderGetImageInfo()
361 ImageContext->ImageSize = (UINT64) OptionHeader.Optional64->SizeOfImage; in PeCoffLoaderGetImageInfo()