9#ifndef __PE_COFF_LOADER_H__
10#define __PE_COFF_LOADER_H__
16#define PE_COFF_LOADER_PROTOCOL_GUID \
17 { 0xB323179B, 0x97FB, 0x477E, { 0xB0, 0xFE, 0xD8, 0x85, 0x91, 0xFA, 0x11, 0xAB } }
181 IN PHYSICAL_ADDRESS ImageBase,
182 IN PHYSICAL_ADDRESS VirtImageBase,
184 IN VOID *RelocationData
218extern EFI_GUID gPeCoffLoaderProtocolGuid;
RETURN_STATUS(EFIAPI * PE_COFF_LOADER_LOAD_IMAGE)(IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext)
RETURN_STATUS(EFIAPI * PE_COFF_LOADER_READ_FROM_MEMORY)(IN VOID *FileHandle, IN UINTN FileOffset, IN OUT UINTN *ReadSize, OUT VOID *Buffer)
VOID(EFIAPI * PE_COFF_LOADER_RELOCATE_IMAGE_FOR_RUNTIME)(IN PHYSICAL_ADDRESS ImageBase, IN PHYSICAL_ADDRESS VirtImageBase, IN UINTN ImageSize, IN VOID *RelocationData)
RETURN_STATUS(EFIAPI * PE_COFF_LOADER_UNLOAD_IMAGE)(IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext)
RETURN_STATUS(EFIAPI * PE_COFF_LOADER_GET_IMAGE_INFO)(IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext)
RETURN_STATUS(EFIAPI * PE_COFF_LOADER_RELOCATE_IMAGE)(IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext)