Searched refs:SizeOfImage (Results 1 – 14 of 14) sorted by relevance
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/FwImage/ |
D | fwimage.c | 227 … 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/ |
D | HiiImageDecoder.h | 158 IN UINTN SizeOfImage,
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 252 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/ |
D | EfiImage.h | 192 UINT32 SizeOfImage; member 238 UINT32 SizeOfImage; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | PeImage.h | 172 UINT32 SizeOfImage; member 222 UINT32 SizeOfImage; member
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/ |
D | PeImage.h | 200 UINT32 SizeOfImage; member 247 UINT32 SizeOfImage; member
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
D | GenFw.c | 2118 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()
|
D | Elf64Convert.c | 582 NtHdr->Pe32Plus.OptionalHeader.SizeOfImage = 0; in ScanSections64() 1110 NtHdr->Pe32Plus.OptionalHeader.SizeOfImage = mCoffOffset; in SetImageSize64()
|
D | Elf32Convert.c | 587 NtHdr->Pe32.OptionalHeader.SizeOfImage = 0; in ScanSections32() 1157 NtHdr->Pe32.OptionalHeader.SizeOfImage = mCoffOffset; in SetImageSize32()
|
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/ |
D | PeLoader.c | 105 *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/ |
D | FvImage.py | 1161 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/ |
D | BasePeCoff.c | 140 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/ |
D | PeCoffLoader.c | 263 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/ |
D | BasePeCoff.c | 348 ImageContext->ImageSize = (UINT64) OptionHeader.Optional32->SizeOfImage; in PeCoffLoaderGetImageInfo() 361 ImageContext->ImageSize = (UINT64) OptionHeader.Optional64->SizeOfImage; in PeCoffLoaderGetImageInfo()
|