TianoCore EDK2 master
Loading...
Searching...
No Matches
PeCoffImageEmulator.h
Go to the documentation of this file.
1
7#ifndef _PECOFF_IMAGE_EMULATOR_PROTOCOL_GUID_H_
8#define _PECOFF_IMAGE_EMULATOR_PROTOCOL_GUID_H_
9
10#define EDKII_PECOFF_IMAGE_EMULATOR_PROTOCOL_GUID \
11 { 0x96F46153, 0x97A7, 0x4793, { 0xAC, 0xC1, 0xFA, 0x19, 0xBF, 0x78, 0xEA, 0x97 } }
12
14
28typedef
29BOOLEAN
32 IN UINT16 ImageType,
34 );
35
58typedef
62 IN EFI_PHYSICAL_ADDRESS ImageBase,
63 IN UINT64 ImageSize,
64 IN OUT EFI_IMAGE_ENTRY_POINT *EntryPoint
65 );
66
78typedef
82 IN EFI_PHYSICAL_ADDRESS ImageBase
83 );
84
85#define EDKII_PECOFF_IMAGE_EMULATOR_VERSION 0x1
86
91
92 // Protocol version implemented by the emulator
93 UINT32 Version;
94 // The machine type implemented by the emulator
95 UINT16 MachineType;
97
98extern EFI_GUID gEdkiiPeCoffImageEmulatorProtocolGuid;
99
100#endif
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EDKII_PECOFF_IMAGE_EMULATOR_REGISTER_IMAGE)(IN EDKII_PECOFF_IMAGE_EMULATOR_PROTOCOL *This, IN EFI_PHYSICAL_ADDRESS ImageBase, IN UINT64 ImageSize, IN OUT EFI_IMAGE_ENTRY_POINT *EntryPoint)
EFI_STATUS(EFIAPI * EDKII_PECOFF_IMAGE_EMULATOR_UNREGISTER_IMAGE)(IN EDKII_PECOFF_IMAGE_EMULATOR_PROTOCOL *This, IN EFI_PHYSICAL_ADDRESS ImageBase)
BOOLEAN(EFIAPI * EDKII_PECOFF_IMAGE_EMULATOR_IS_IMAGE_SUPPORTED)(IN EDKII_PECOFF_IMAGE_EMULATOR_PROTOCOL *This, IN UINT16 ImageType, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL)
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_STATUS(EFIAPI * EFI_IMAGE_ENTRY_POINT)(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: UefiSpec.h:2108
Definition: Base.h:213