/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
D | PeCoffLoader.c | 235 …aders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize; in PeCoffLoaderGetPeHeader() 437 …ImageContext->ImageAddress = (EFI_PHYSICAL_ADDRESS)(Hdr.Te->ImageBase + Hdr.Te->StrippedSize - siz… in PeCoffLoaderGetImageInfo() 573 …ers = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN) Hdr.Te->BaseOfCode - (UINTN) Hdr.Te->StrippedSize; in PeCoffLoaderGetImageInfo() 603 Hdr.Te->StrippedSize; in PeCoffLoaderGetImageInfo() 811 …Adjust = (UINT64) (BaseAddress - Hdr.Te->StrippedSize + sizeof (EFI_TE_IMAGE_HEADER) -… in PeCoffLoaderRelocateImage() 812 … Hdr.Te->ImageBase = (UINT64) (BaseAddress - Hdr.Te->StrippedSize + sizeof (EFI_TE_IMAGE_HEADER)); in PeCoffLoaderRelocateImage() 823 Hdr.Te->StrippedSize in PeCoffLoaderRelocateImage() 856 Hdr.Te->StrippedSize in PeCoffLoaderRelocateImage() 1151 Base = (CHAR8 *)((UINTN) Base + sizeof (EFI_TE_IMAGE_HEADER) - (UINTN)Hdr.Te->StrippedSize); in PeCoffLoaderLoadImage() 1152 End = (CHAR8 *)((UINTN) End + sizeof (EFI_TE_IMAGE_HEADER) - (UINTN)Hdr.Te->StrippedSize); in PeCoffLoaderLoadImage() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | BasePeCoff.c | 312 …ImageContext->ImageAddress = (PHYSICAL_ADDRESS) (TeHdr->ImageBase + TeHdr->StrippedSize - sizeof (… in PeCoffLoaderGetImageInfo() 447 …aders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN) TeHdr->BaseOfCode - (UINTN) TeHdr->StrippedSize; in PeCoffLoaderGetImageInfo() 477 TeHdr->StrippedSize; in PeCoffLoaderGetImageInfo() 720 TeHdr->StrippedSize in PeCoffLoaderRelocateImage() 743 TeHdr->StrippedSize in PeCoffLoaderRelocateImage() 1021 Base = (CHAR8 *) ((UINTN) Base + sizeof (EFI_TE_IMAGE_HEADER) - (UINTN) TeHdr->StrippedSize); in PeCoffLoaderLoadImage() 1022 End = (CHAR8 *) ((UINTN) End + sizeof (EFI_TE_IMAGE_HEADER) - (UINTN) TeHdr->StrippedSize); in PeCoffLoaderLoadImage() 1048 … Section->PointerToRawData + sizeof (EFI_TE_IMAGE_HEADER) - (UINTN) TeHdr->StrippedSize, in PeCoffLoaderLoadImage() 1087 (UINTN) TeHdr->StrippedSize in PeCoffLoaderLoadImage() 1140 TeHdr->StrippedSize in PeCoffLoaderLoadImage() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 127 …aders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize; in GluePeCoffLoaderGetPeHeader() 246 …ImageContext->ImageAddress = (PHYSICAL_ADDRESS)(Hdr.Te->ImageBase + Hdr.Te->StrippedSize - sizeof … in GluePeCoffLoaderGetImageInfo() 394 Hdr.Te->StrippedSize; in GluePeCoffLoaderGetImageInfo() 549 BaseAddress = ImageContext->ImageAddress + sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize; in GluePeCoffLoaderRelocateImage() 616 Hdr.Te->StrippedSize in GluePeCoffLoaderRelocateImage() 649 Hdr.Te->StrippedSize in GluePeCoffLoaderRelocateImage() 905 Base = (CHAR8 *)((UINTN) Base + sizeof (EFI_TE_IMAGE_HEADER) - (UINTN)Hdr.Te->StrippedSize); in GluePeCoffLoaderLoadImage() 906 End = (CHAR8 *)((UINTN) End + sizeof (EFI_TE_IMAGE_HEADER) - (UINTN)Hdr.Te->StrippedSize); in GluePeCoffLoaderLoadImage() 939 … Section->PointerToRawData + sizeof (EFI_TE_IMAGE_HEADER) - (UINTN)Hdr.Te->StrippedSize, in GluePeCoffLoaderLoadImage() 995 (UINTN)Hdr.Te->StrippedSize in GluePeCoffLoaderLoadImage() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/ |
D | PeCoffGetEntryPoint.c | 73 …)(Hdr.Te->AddressOfEntryPoint & 0x0ffffffff) + sizeof(EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize); in PeCoffLoaderGetEntryPoint() 187 TEImageAdjust = sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize; in PeCoffLoaderGetPdbPointer() 309 …OfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize; in PeCoffGetSizeOfHeaders()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/ |
D | PeiEmuPeCoffGetEntryPointLib.c | 168 TEImageAdjust = sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize; in PeCoffLoaderGetPdbPointer() 288 …OfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize; in PeCoffGetSizeOfHeaders()
|
/device/linaro/bootloader/edk2/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/ |
D | PeCoffGetEntryPoint.c | 195 TEImageAdjust = sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize; in PeCoffLoaderGetPdbPointer() 315 …OfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize; in PeCoffGetSizeOfHeaders()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/ |
D | CpuExceptionCommon.c | 162 …N)(Hdr.Te->AddressOfEntryPoint & 0x0ffffffff) + sizeof(EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize; in FindModuleImageBase()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 175 …aders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize; in PeCoffLoaderGetPeHeader() 180 if (sizeof (EFI_TE_IMAGE_HEADER) >= (UINT32)Hdr.Te->StrippedSize) { in PeCoffLoaderGetPeHeader() 188 if (Hdr.Te->BaseOfCode <= Hdr.Te->StrippedSize) { in PeCoffLoaderGetPeHeader() 509 …PeCoffLoaderAdjustOffsetForTeImage (&SectionHeader, (UINT32)Hdr.Te->StrippedSize - sizeof (EFI_TE_… in PeCoffLoaderGetPeHeader() 644 TeStrippedOffset = (UINT32)Hdr.Te->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER); in PeCoffLoaderGetImageInfo() 1027 TeStrippedOffset = (UINT32)Hdr.Te->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER); in PeCoffLoaderRelocateImage() 1344 TeStrippedOffset = (UINT32) Hdr.Te->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER); in PeCoffLoaderLoadImage()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/ |
D | PeCoffGetEntryPoint.c | 169 TEImageAdjust = sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize; in PeCoffLoaderGetPdbPointer()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenTEImage/ |
D | GenTEImage.c | 336 TEImageHeader.StrippedSize = (UINT16) BytesStripped; in ProcessFile() 849 fprintf (stdout, " Stripped size: 0x%04X\n", (UINT32) TEImageHeader.StrippedSize); in DumpImage()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/ |
D | DebugAgentSymbolsBaseLib.c | 227 ImageAddress += sizeof (EFI_TE_IMAGE_HEADER) - ((EFI_TE_IMAGE_HEADER*)EfiImage)->StrippedSize; in GetImageContext()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Image/ |
D | Image.c | 440 …AlignImageSize = ImageContext.ImageSize + ((EFI_TE_IMAGE_HEADER *) Pe32Data)->StrippedSize - sizeo… in LoadAndRelocatePeCoffImage() 476 ((EFI_TE_IMAGE_HEADER *) Pe32Data)->StrippedSize - in LoadAndRelocatePeCoffImage()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/ResetVector/Vtf0/Ia32/ |
D | SearchForSecEntry.asm | 188 ; sizeof(EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize);
|
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/ |
D | GdbStub.c | 892 TEImageAdjust = sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize; in PeCoffLoaderGetDebuggerInfo() 897 …OfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize; in PeCoffLoaderGetDebuggerInfo()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
D | GenFw.c | 1959 fprintf (fpInOut, "%17X stripped size\n", TEImageHeader.StrippedSize); in main() 1972 fprintf (fpOut, "%17X stripped size\n", TEImageHeader.StrippedSize); in main() 2071 (FileLength + TeHdr->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER))) { in main() 2313 …TEImageHeader.StrippedSize = (UINT16) ((UINTN) ((UINT8 *) &(PeHdr->Pe32.OptionalHeader) + PeHd… in main() 2611 …TEImageHeader.Machine, TEImageHeader.NumberOfSections, TEImageHeader.StrippedSize, (unsigned) TEIm… in main() 2615 FileLength = FileLength - TEImageHeader.StrippedSize; in main() 2616 …memmove (FileBuffer + sizeof (EFI_TE_IMAGE_HEADER), FileBuffer + TEImageHeader.StrippedSize, FileL… in main()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/ |
D | GenFvInternalLib.c | 828 Offset = TEImageHeader->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER); in WriteMapFile() 2334 …tryPoint = TeHeader->AddressOfEntryPoint + sizeof (EFI_TE_IMAGE_HEADER) - TeHeader->StrippedSize; in GetPe32Info() 2335 *BaseOfCode = TeHeader->BaseOfCode + sizeof (EFI_TE_IMAGE_HEADER) - TeHeader->StrippedSize; in GetPe32Info() 3729 - TEImageHeader->StrippedSize - (UINTN) FfsFile; in FfsRebase() 3836 …(UINT8 *) TEImageHeader + sizeof (EFI_TE_IMAGE_HEADER) - TEImageHeader->StrippedSize + SectionHead… in FfsRebase() 3842 …(UINT8 *) TEImageHeader + sizeof (EFI_TE_IMAGE_HEADER) - TEImageHeader->StrippedSize + SectionHead… in FfsRebase() 3843 …eContext.ImageAddress + sizeof (EFI_TE_IMAGE_HEADER) - TEImageHeader->StrippedSize + SectionHeader… in FfsRebase()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/ |
D | EfiImage.h | 676 UINT16 StrippedSize; // how many bytes we removed from the header member
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | PeImage.h | 723 UINT16 StrippedSize; ///< Number of bytes we removed from the header. member
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/ |
D | PeImage.h | 737 UINT16 StrippedSize; // how many bytes we removed from the header member
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Tools/ |
D | SplitFspBin.py | 550 …roffset = sizeof(self.TeHdr) - self.TeHdr.StrippedSize + self.TeHdr.DataDirectoryBaseReloc.Virtual… 575 aoff += sizeof(self.TeHdr) - self.TeHdr.StrippedSize
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFfs/ |
D | GenFfs.c | 337 TeOffset = TeHeader.StrippedSize - sizeof (TeHeader); in GetSectionContents()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/ |
D | GenFvImageLib.c | 2834 …ntryPoint = TeHeader->AddressOfEntryPoint + sizeof (EFI_TE_IMAGE_HEADER) - TeHeader->StrippedSize; in GetPe32Info() 2835 *BaseOfCode = TeHeader->BaseOfCode + sizeof (EFI_TE_IMAGE_HEADER) - TeHeader->StrippedSize; in GetPe32Info()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/ |
D | GenSec.c | 500 TeOffset = TeHeader.StrippedSize - sizeof (TeHeader); in GetSectionContents()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/ |
D | MemoryProfileRecord.c | 380 …(Hdr.Te->AddressOfEntryPoint & 0x0ffffffff) + sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize); in InternalPeCoffGetEntryPoint()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/ |
D | GenFfsFile.c | 1394 TeStrippedSize = ((EFI_TE_IMAGE_HEADER *) &FileBuffer[OldSize + 4])->StrippedSize; in ProcessScript()
|