TianoCore EDK2 master
Loading...
Searching...
No Matches
SmMonitorInit.h
Go to the documentation of this file.
1
9#ifndef _SM_MONITOR_INIT_PROTOCOL_H_
10#define _SM_MONITOR_INIT_PROTOCOL_H_
11
12#include <PiSmm.h>
14
15#define EFI_SM_MONITOR_INIT_PROTOCOL_GUID \
16 { 0x228f344d, 0xb3de, 0x43bb, 0xa4, 0xd7, 0xea, 0x20, 0xb, 0x1b, 0x14, 0x82}
17
18//
19// STM service
20//
21
35typedef
38 IN EFI_PHYSICAL_ADDRESS StmImage,
39 IN UINTN StmImageSize
40 );
41
55typedef
58 IN STM_RSC *ResourceList,
59 IN UINT32 NumEntries OPTIONAL
60 );
61
75typedef
78 IN STM_RSC *ResourceList OPTIONAL,
79 IN UINT32 NumEntries OPTIONAL
80 );
81
95typedef
98 OUT STM_RSC *ResourceList,
99 IN OUT UINT32 *ResourceSize
100 );
101
102typedef UINT32 EFI_SM_MONITOR_STATE;
103#define EFI_SM_MONITOR_STATE_ENABLED 0x1
104#define EFI_SM_MONITOR_STATE_ACTIVATED 0x2
105
113typedef
114EFI_SM_MONITOR_STATE
116 VOID
117 );
118
120 //
121 // Valid at boot-time only
122 //
123 EFI_SM_MONITOR_LOAD_MONITOR LoadMonitor;
124 EFI_SM_MONITOR_ADD_PI_RESOURCE AddPiResource;
125 EFI_SM_MONITOR_DELETE_PI_RESOURCE DeletePiResource;
126 EFI_SM_MONITOR_GET_PI_RESOURCE GetPiResource;
127 //
128 // Valid at runtime
129 //
130 EFI_SM_MONITOR_GET_MONITOR_STATE GetMonitorState;
132
133extern EFI_GUID gEfiSmMonitorInitProtocolGuid;
134
135#endif
UINT64 UINTN
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_SM_MONITOR_STATE(EFIAPI * EFI_SM_MONITOR_GET_MONITOR_STATE)(VOID)
EFI_STATUS(EFIAPI * EFI_SM_MONITOR_ADD_PI_RESOURCE)(IN STM_RSC *ResourceList, IN UINT32 NumEntries OPTIONAL)
Definition: SmMonitorInit.h:57
EFI_STATUS(EFIAPI * EFI_SM_MONITOR_GET_PI_RESOURCE)(OUT STM_RSC *ResourceList, IN OUT UINT32 *ResourceSize)
Definition: SmMonitorInit.h:97
EFI_STATUS(EFIAPI * EFI_SM_MONITOR_DELETE_PI_RESOURCE)(IN STM_RSC *ResourceList OPTIONAL, IN UINT32 NumEntries OPTIONAL)
Definition: SmMonitorInit.h:77
EFI_STATUS(EFIAPI * EFI_SM_MONITOR_LOAD_MONITOR)(IN EFI_PHYSICAL_ADDRESS StmImage, IN UINTN StmImageSize)
Definition: SmMonitorInit.h:37
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213