TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmAccess.h
Go to the documentation of this file.
1
20#ifndef _SMM_ACCESS_PPI_H_
21#define _SMM_ACCESS_PPI_H_
22
23#define PEI_SMM_ACCESS_PPI_GUID \
24 { 0x268f33a9, 0xcccd, 0x48be, { 0x88, 0x17, 0x86, 0x5, 0x3a, 0xc3, 0x2e, 0xd6 }}
25
27
44typedef
46(EFIAPI *PEI_SMM_OPEN)(
47 IN EFI_PEI_SERVICES **PeiServices,
49 IN UINTN DescriptorIndex
50 );
51
67typedef
69(EFIAPI *PEI_SMM_CLOSE)(
70 IN EFI_PEI_SERVICES **PeiServices,
72 IN UINTN DescriptorIndex
73 );
74
91typedef
93(EFIAPI *PEI_SMM_LOCK)(
94 IN EFI_PEI_SERVICES **PeiServices,
96 IN UINTN DescriptorIndex
97 );
98
113typedef
115(EFIAPI *PEI_SMM_CAPABILITIES)(
116 IN EFI_PEI_SERVICES **PeiServices,
118 IN OUT UINTN *SmramMapSize,
119 IN OUT EFI_SMRAM_DESCRIPTOR *SmramMap
120 );
121
129 PEI_SMM_OPEN Open;
130 PEI_SMM_CLOSE Close;
131 PEI_SMM_LOCK Lock;
132 PEI_SMM_CAPABILITIES GetCapabilities;
133 BOOLEAN LockState;
134 BOOLEAN OpenState;
135};
136
137extern EFI_GUID gPeiSmmAccessPpiGuid;
138
139#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * PEI_SMM_CAPABILITIES)(IN EFI_PEI_SERVICES **PeiServices, IN PEI_SMM_ACCESS_PPI *This, IN OUT UINTN *SmramMapSize, IN OUT EFI_SMRAM_DESCRIPTOR *SmramMap)
Definition: SmmAccess.h:115
EFI_STATUS(EFIAPI * PEI_SMM_LOCK)(IN EFI_PEI_SERVICES **PeiServices, IN PEI_SMM_ACCESS_PPI *This, IN UINTN DescriptorIndex)
Definition: SmmAccess.h:93
EFI_STATUS(EFIAPI * PEI_SMM_OPEN)(IN EFI_PEI_SERVICES **PeiServices, IN PEI_SMM_ACCESS_PPI *This, IN UINTN DescriptorIndex)
Definition: SmmAccess.h:46
EFI_STATUS(EFIAPI * PEI_SMM_CLOSE)(IN EFI_PEI_SERVICES **PeiServices, IN PEI_SMM_ACCESS_PPI *This, IN UINTN DescriptorIndex)
Definition: SmmAccess.h:69
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213