Lines Matching defs:ImageBase
322 ImageContext->ImageAddress = Hdr.Pe32->OptionalHeader.ImageBase;
327 ImageContext->ImageAddress = Hdr.Pe32Plus->OptionalHeader.ImageBase;
330 ImageContext->ImageAddress = (PHYSICAL_ADDRESS)(Hdr.Te->ImageBase + Hdr.Te->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER));
661 Adjust = (UINT64)BaseAddress - Hdr.Pe32->OptionalHeader.ImageBase;
662 Hdr.Pe32->OptionalHeader.ImageBase = (UINT32)BaseAddress;
670 Adjust = (UINT64) BaseAddress - Hdr.Pe32Plus->OptionalHeader.ImageBase;
671 Hdr.Pe32Plus->OptionalHeader.ImageBase = (UINT64)BaseAddress;
701 Adjust = (UINT64) (BaseAddress - Hdr.Te->StrippedSize + sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->ImageBase);
702 Hdr.Te->ImageBase = (UINT64) (BaseAddress - Hdr.Te->StrippedSize + sizeof (EFI_TE_IMAGE_HEADER));
1339 This function reapplies relocation fixups to the PE/COFF image specified by ImageBase
1349 @param ImageBase Base address of a PE/COFF image that has been loaded
1361 IN PHYSICAL_ADDRESS ImageBase,
1390 OldBase = (CHAR8 *)((UINTN)ImageBase);
1459 RelocBase = (EFI_IMAGE_BASE_RELOCATION *)(UINTN)(ImageBase + FatOffset + RelocDir->VirtualAddress);
1460 RelocBaseEnd = (EFI_IMAGE_BASE_RELOCATION *)(UINTN)(ImageBase + FatOffset + RelocDir->VirtualAddress + RelocDir->Size);
1486 FixupBase = (CHAR8 *) ((UINTN)ImageBase) + FatOffset + RelocBase->VirtualAddress;