ReactOS 0.4.15-dev-7931-gfd331f1
LoadedImage.h
Go to the documentation of this file.
1
18#ifndef __LOADED_IMAGE_PROTOCOL_H__
19#define __LOADED_IMAGE_PROTOCOL_H__
20
21#define EFI_LOADED_IMAGE_PROTOCOL_GUID \
22 { \
23 0x5B1B31A1, 0x9562, 0x11d2, { 0x8E, 0x3F, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B } \
24 }
25
26#define EFI_LOADED_IMAGE_DEVICE_PATH_PROTOCOL_GUID \
27 { \
28 0xbc62157e, 0x3e33, 0x4fec, { 0x99, 0x20, 0x2d, 0x3b, 0x36, 0xd7, 0x50, 0xdf } \
29 }
30
34#define LOADED_IMAGE_PROTOCOL EFI_LOADED_IMAGE_PROTOCOL_GUID
35
39#define EFI_LOADED_IMAGE_PROTOCOL_REVISION 0x1000
40
44#define EFI_LOADED_IMAGE_INFORMATION_REVISION EFI_LOADED_IMAGE_PROTOCOL_REVISION
45
49typedef struct {
55
56 //
57 // Source location of image
58 //
63
64 //
65 // Images load options
66 //
69
70 //
71 // Location of where image was loaded
72 //
79
80//
81// For backward-compatible with EFI1.1.
82//
84
87
88#endif
EFI_GUID gEfiLoadedImageDevicePathProtocolGuid
EFI_LOADED_IMAGE_PROTOCOL EFI_LOADED_IMAGE
Definition: LoadedImage.h:83
EFI_GUID gEfiLoadedImageProtocolGuid
unsigned long long UINT64
unsigned int UINT32
EFI_MEMORY_TYPE
EFI_STATUS(EFIAPI * EFI_IMAGE_UNLOAD)(IN EFI_HANDLE ImageHandle)
Definition: UefiSpec.h:904
EFI_DEVICE_PATH_PROTOCOL * FilePath
that the EFI Image was loaded from.
Definition: LoadedImage.h:60
EFI_MEMORY_TYPE ImageDataType
The memory type that the data sections were loaded as.
Definition: LoadedImage.h:76
VOID * LoadOptions
A pointer to the image's binary load options.
Definition: LoadedImage.h:68
EFI_HANDLE DeviceHandle
The device handle that the EFI Image was loaded from.
Definition: LoadedImage.h:59
UINT32 LoadOptionsSize
The size in bytes of LoadOptions.
Definition: LoadedImage.h:67
EFI_MEMORY_TYPE ImageCodeType
The memory type that the code sections were loaded as.
Definition: LoadedImage.h:75
UINT32 Revision
All future revisions will be backward compatible to the current revision.
Definition: LoadedImage.h:50
EFI_IMAGE_UNLOAD Unload
Definition: LoadedImage.h:77
VOID * Reserved
Reserved. DO NOT USE.
Definition: LoadedImage.h:62
UINT64 ImageSize
The size in bytes of the loaded image.
Definition: LoadedImage.h:74
EFI_HANDLE ParentHandle
the firmware's boot manager.
Definition: LoadedImage.h:52
EFI_SYSTEM_TABLE * SystemTable
the image's EFI system table pointer.
Definition: LoadedImage.h:54
VOID * ImageBase
The base address at which the image was loaded.
Definition: LoadedImage.h:73