Searched refs:TEImageHeader (Results 1 – 3 of 3) sorted by relevance
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenTEImage/ |
D | GenTEImage.c | 245 EFI_TE_IMAGE_HEADER TEImageHeader; in ProcessFile() local 276 memset (&TEImageHeader, 0, sizeof (EFI_TE_IMAGE_HEADER)); in ProcessFile() 336 TEImageHeader.StrippedSize = (UINT16) BytesStripped; in ProcessFile() 356 TEImageHeader.AddressOfEntryPoint = OptionalHeader32.AddressOfEntryPoint; in ProcessFile() 375 TEImageHeader.Subsystem = (UINT8) OptionalHeader32.Subsystem; in ProcessFile() 376 TEImageHeader.BaseOfCode = OptionalHeader32.BaseOfCode; in ProcessFile() 377 TEImageHeader.ImageBase = (UINT64) (OptionalHeader32.ImageBase); in ProcessFile() 379 …TEImageHeader.DataDirectory[EFI_TE_IMAGE_DIRECTORY_ENTRY_BASERELOC].VirtualAddress = OptionalHeade… in ProcessFile() 380 …TEImageHeader.DataDirectory[EFI_TE_IMAGE_DIRECTORY_ENTRY_BASERELOC].Size = OptionalHeader32.DataDi… in ProcessFile() 384 …TEImageHeader.DataDirectory[EFI_TE_IMAGE_DIRECTORY_ENTRY_DEBUG].VirtualAddress = OptionalHeader32.… in ProcessFile() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
D | GenFw.c | 1089 EFI_TE_IMAGE_HEADER TEImageHeader; in main() local 1928 memcpy (&TEImageHeader, FileBuffer, sizeof (TEImageHeader)); in main() 1929 if (TEImageHeader.Signature != EFI_TE_IMAGE_HEADER_SIGNATURE) { in main() 1956 fprintf (fpInOut, "%17X machine\n", TEImageHeader.Machine); in main() 1957 fprintf (fpInOut, "%17X number of sections\n", TEImageHeader.NumberOfSections); in main() 1958 fprintf (fpInOut, "%17X subsystems\n", TEImageHeader.Subsystem); in main() 1959 fprintf (fpInOut, "%17X stripped size\n", TEImageHeader.StrippedSize); in main() 1960 fprintf (fpInOut, "%17X entry point\n", (unsigned) TEImageHeader.AddressOfEntryPoint); in main() 1961 fprintf (fpInOut, "%17X base of code\n", (unsigned) TEImageHeader.BaseOfCode); in main() 1962 fprintf (fpInOut, "%17llX image base\n", (unsigned long long)TEImageHeader.ImageBase); in main() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/ |
D | GenFvInternalLib.c | 752 EFI_TE_IMAGE_HEADER *TEImageHeader; in WriteMapFile() local 826 TEImageHeader = (EFI_TE_IMAGE_HEADER *) pImageContext->Handle; in WriteMapFile() 827 AddressOfEntryPoint = TEImageHeader->AddressOfEntryPoint; in WriteMapFile() 828 Offset = TEImageHeader->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER); in WriteMapFile() 829 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) (TEImageHeader + 1); in WriteMapFile() 830 Index = TEImageHeader->NumberOfSections; in WriteMapFile() 3343 EFI_TE_IMAGE_HEADER *TEImageHeader; in FfsRebase() local 3357 TEImageHeader = NULL; in FfsRebase() 3696 …TEImageHeader = (EFI_TE_IMAGE_HEADER *) ((UINT8 *) CurrentPe32Section.Pe32Section + CurSecHdrSize); in FfsRebase() 3702 ImageContext.Handle = (VOID *) TEImageHeader; in FfsRebase() [all …]
|