/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
BasePeCoff.c | 33 OUT EFI_TE_IMAGE_HEADER **TeHdr
41 IN EFI_TE_IMAGE_HEADER *TeHdr
80 OUT EFI_TE_IMAGE_HEADER **TeHdr
138 *TeHdr = (EFI_TE_IMAGE_HEADER *)*PeHdr;
153 IN EFI_TE_IMAGE_HEADER *TeHdr
264 EFI_TE_IMAGE_HEADER *TeHdr;
312 ImageContext->ImageAddress = (PHYSICAL_ADDRESS) (TeHdr->ImageBase + TeHdr->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER));
447 ImageContext->SizeOfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN) TeHdr->BaseOfCode - (UINTN) TeHdr->StrippedSize;
451 SectionHeaderOffset = (UINTN) (sizeof (EFI_TE_IMAGE_HEADER));
476 sizeof (EFI_TE_IMAGE_HEADER) - [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
PeCoffLoader.c | 235 ImageContext->SizeOfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize;
437 ImageContext->ImageAddress = (EFI_PHYSICAL_ADDRESS)(Hdr.Te->ImageBase + Hdr.Te->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER));
573 ImageContext->SizeOfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN) Hdr.Te->BaseOfCode - (UINTN) Hdr.Te->StrippedSize;
577 SectionHeaderOffset = (UINTN)(sizeof (EFI_TE_IMAGE_HEADER));
602 sizeof (EFI_TE_IMAGE_HEADER) -
810 Hdr.Te = (EFI_TE_IMAGE_HEADER *)(UINTN)(ImageContext->ImageAddress);
811 Adjust = (UINT64) (BaseAddress - Hdr.Te->StrippedSize + sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->ImageBase);
812 Hdr.Te->ImageBase = (UINT64) (BaseAddress - Hdr.Te->StrippedSize + sizeof (EFI_TE_IMAGE_HEADER));
822 sizeof(EFI_TE_IMAGE_HEADER) -
855 sizeof(EFI_TE_IMAGE_HEADER) - [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/ |
BasePeCoff.c | 127 ImageContext->SizeOfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize;
246 ImageContext->ImageAddress = (PHYSICAL_ADDRESS)(Hdr.Te->ImageBase + Hdr.Te->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER));
368 SectionHeaderOffset = (UINTN)(sizeof (EFI_TE_IMAGE_HEADER));
393 sizeof (EFI_TE_IMAGE_HEADER) -
548 Hdr.Te = (EFI_TE_IMAGE_HEADER *)(UINTN)(ImageContext->ImageAddress);
549 BaseAddress = ImageContext->ImageAddress + sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize;
603 Hdr.Te = (EFI_TE_IMAGE_HEADER *)(UINTN)(ImageContext->ImageAddress);
615 sizeof(EFI_TE_IMAGE_HEADER) -
648 sizeof(EFI_TE_IMAGE_HEADER) -
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenTEImage/ |
GenTEImage.c | 245 EFI_TE_IMAGE_HEADER TEImageHeader;
276 memset (&TEImageHeader, 0, sizeof (EFI_TE_IMAGE_HEADER));
358 // - BytesStripped + sizeof (EFI_TE_IMAGE_HEADER);
399 // - BytesStripped + sizeof (EFI_TE_IMAGE_HEADER);
472 if (fwrite (&TEImageHeader, sizeof (EFI_TE_IMAGE_HEADER), 1, OutFptr) != 1) {
817 EFI_TE_IMAGE_HEADER TEImageHeader;
830 if (fread (&TEImageHeader, sizeof (EFI_TE_IMAGE_HEADER), 1, InFptr) != 1) {
842 fprintf (stdout, "Header (%d bytes):\n", sizeof (EFI_TE_IMAGE_HEADER));
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/ |
PeCoffGetEntryPoint.c | 73 *EntryPoint = (VOID *)((UINTN)Pe32Data + (UINTN)(Hdr.Te->AddressOfEntryPoint & 0x0ffffffff) + sizeof(EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize);
187 TEImageAdjust = sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize;
309 SizeOfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize;
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/ |
CpuExceptionCommon.c | 162 *EntryPoint = (UINTN)Pe32Data + (UINTN)(Hdr.Te->AddressOfEntryPoint & 0x0ffffffff) + sizeof(EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize;
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/ |
BasePeCoff.c | 175 ImageContext->SizeOfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize;
180 if (sizeof (EFI_TE_IMAGE_HEADER) >= (UINT32)Hdr.Te->StrippedSize) {
478 SectionHeaderOffset = sizeof(EFI_TE_IMAGE_HEADER);
509 PeCoffLoaderAdjustOffsetForTeImage (&SectionHeader, (UINT32)Hdr.Te->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER));
644 TeStrippedOffset = (UINT32)Hdr.Te->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER);
784 SectionHeaderOffset = (UINTN)(sizeof (EFI_TE_IMAGE_HEADER));
[all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/ |
DebugAgentSymbolsBaseLib.c | 227 ImageAddress += sizeof (EFI_TE_IMAGE_HEADER) - ((EFI_TE_IMAGE_HEADER*)EfiImage)->StrippedSize;
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/ |
PeiEmuPeCoffGetEntryPointLib.c | 168 TEImageAdjust = sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize;
288 SizeOfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize;
|
/device/linaro/bootloader/edk2/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/ |
PeCoffGetEntryPoint.c | 195 TEImageAdjust = sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize;
315 SizeOfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Image/ |
Image.c | 250 SectionHeaderOffset = sizeof (EFI_TE_IMAGE_HEADER);
440 AlignImageSize = ImageContext.ImageSize + ((EFI_TE_IMAGE_HEADER *) Pe32Data)->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER);
476 ((EFI_TE_IMAGE_HEADER *) Pe32Data)->StrippedSize -
477 sizeof (EFI_TE_IMAGE_HEADER);
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/ |
PeImage.h | 742 } EFI_TE_IMAGE_HEADER;
759 EFI_TE_IMAGE_HEADER Te;
765 EFI_TE_IMAGE_HEADER *Te;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/ |
EfiImage.h | 681 } EFI_TE_IMAGE_HEADER;
696 EFI_TE_IMAGE_HEADER Te;
702 EFI_TE_IMAGE_HEADER *Te;
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
PeImage.h | 728 } EFI_TE_IMAGE_HEADER;
746 EFI_TE_IMAGE_HEADER Te;
752 EFI_TE_IMAGE_HEADER *Te;
|
/external/syslinux/gpxe/src/include/gpxe/efi/IndustryStandard/ |
PeImage.h | 724 } EFI_TE_IMAGE_HEADER; 742 EFI_TE_IMAGE_HEADER Te; 748 EFI_TE_IMAGE_HEADER *Te;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/ |
PeCoffGetEntryPoint.c | 169 TEImageAdjust = sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize;
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/ |
GenFvInternalLib.c | 752 EFI_TE_IMAGE_HEADER *TEImageHeader;
826 TEImageHeader = (EFI_TE_IMAGE_HEADER *) pImageContext->Handle;
828 Offset = TEImageHeader->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER);
[all...] |
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Tools/ |
SplitFspBin.py | 148 class EFI_TE_IMAGE_HEADER(Structure):
527 tehdr = EFI_TE_IMAGE_HEADER.from_buffer (data, 0)
595 offset = self.Offset + EFI_TE_IMAGE_HEADER.ImageBase.offset
596 size = EFI_TE_IMAGE_HEADER.ImageBase.size
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
GenFw.c | [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/ |
GdbStub.c | 892 TEImageAdjust = sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize;
897 SizeOfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize;
[all...] |
/device/linaro/bootloader/edk2/UefiCpuPkg/ResetVector/Vtf0/Ia32/ |
SearchForSecEntry.asm | 188 ; sizeof(EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/ |
GenFfsFile.c | 1391 if (Size - OldSize >= sizeof (EFI_COMMON_SECTION_HEADER) + sizeof (EFI_TE_IMAGE_HEADER) &&
1393 ((EFI_TE_IMAGE_HEADER *) &FileBuffer[OldSize + 4])->Machine == EFI_IMAGE_MACHINE_IA64) {
1394 TeStrippedSize = ((EFI_TE_IMAGE_HEADER *) &FileBuffer[OldSize + 4])->StrippedSize;
1395 Adjust = TeStrippedSize - (OldSize + sizeof (EFI_COMMON_SECTION_HEADER) + sizeof (EFI_TE_IMAGE_HEADER));
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFfs/ |
GenFfs.c | 284 EFI_TE_IMAGE_HEADER TeHeader;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/ |
GenFvImageLib.c | [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/ |
GenSec.c | 432 EFI_TE_IMAGE_HEADER TeHeader;
[all...] |