Home
last modified time | relevance | path

Searched refs:StrippedSize (Results 1 – 25 of 26) sorted by relevance

12

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
DPeCoffLoader.c235 …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/
DBasePeCoff.c312 …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/
DBasePeCoff.c127 …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/
DPeCoffGetEntryPoint.c73 …)(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/
DPeiEmuPeCoffGetEntryPointLib.c168 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/
DPeCoffGetEntryPoint.c195 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/
DCpuExceptionCommon.c162 …N)(Hdr.Te->AddressOfEntryPoint & 0x0ffffffff) + sizeof(EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize; in FindModuleImageBase()
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/
DBasePeCoff.c175 …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/
DPeCoffGetEntryPoint.c169 TEImageAdjust = sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize; in PeCoffLoaderGetPdbPointer()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenTEImage/
DGenTEImage.c336 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/
DDebugAgentSymbolsBaseLib.c227 ImageAddress += sizeof (EFI_TE_IMAGE_HEADER) - ((EFI_TE_IMAGE_HEADER*)EfiImage)->StrippedSize; in GetImageContext()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Image/
DImage.c440 …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/
DSearchForSecEntry.asm188 ; sizeof(EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize);
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/
DGdbStub.c892 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/
DGenFw.c1959 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/
DGenFvInternalLib.c828 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/
DEfiImage.h676 UINT16 StrippedSize; // how many bytes we removed from the header member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DPeImage.h723 UINT16 StrippedSize; ///< Number of bytes we removed from the header. member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
DPeImage.h737 UINT16 StrippedSize; // how many bytes we removed from the header member
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Tools/
DSplitFspBin.py550 …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/
DGenFfs.c337 TeOffset = TeHeader.StrippedSize - sizeof (TeHeader); in GetSectionContents()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/
DGenFvImageLib.c2834 …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/
DGenSec.c500 TeOffset = TeHeader.StrippedSize - sizeof (TeHeader); in GetSectionContents()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/
DMemoryProfileRecord.c380 …(Hdr.Te->AddressOfEntryPoint & 0x0ffffffff) + sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize); in InternalPeCoffGetEntryPoint()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/
DGenFfsFile.c1394 TeStrippedSize = ((EFI_TE_IMAGE_HEADER *) &FileBuffer[OldSize + 4])->StrippedSize; in ProcessScript()

12