TianoCore EDK2 master
Loading...
Searching...
No Matches
MmAccess.h
Go to the documentation of this file.
1
20#ifndef _MM_ACCESS_PPI_H_
21#define _MM_ACCESS_PPI_H_
22
23#define EFI_PEI_MM_ACCESS_PPI_GUID \
24 { 0x268f33a9, 0xcccd, 0x48be, { 0x88, 0x17, 0x86, 0x5, 0x3a, 0xc3, 0x2e, 0xd6 }}
25
27
44typedef
46(EFIAPI *EFI_PEI_MM_OPEN)(
47 IN EFI_PEI_SERVICES **PeiServices,
49 IN UINTN DescriptorIndex
50 );
51
67typedef
69(EFIAPI *EFI_PEI_MM_CLOSE)(
70 IN EFI_PEI_SERVICES **PeiServices,
72 IN UINTN DescriptorIndex
73 );
74
87typedef
89(EFIAPI *EFI_PEI_MM_LOCK)(
90 IN EFI_PEI_SERVICES **PeiServices,
92 IN UINTN DescriptorIndex
93 );
94
129typedef
132 IN EFI_PEI_SERVICES **PeiServices,
134 IN OUT UINTN *MmramMapSize,
135 IN OUT EFI_MMRAM_DESCRIPTOR *MmramMap
136 );
137
145 EFI_PEI_MM_OPEN Open;
146 EFI_PEI_MM_CLOSE Close;
147 EFI_PEI_MM_LOCK Lock;
148 EFI_PEI_MM_CAPABILITIES GetCapabilities;
149 BOOLEAN LockState;
150 BOOLEAN OpenState;
151};
152
153extern EFI_GUID gEfiPeiMmAccessPpiGuid;
154
155#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_PEI_MM_OPEN)(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MM_ACCESS_PPI *This, IN UINTN DescriptorIndex)
Definition: MmAccess.h:46
EFI_STATUS(EFIAPI * EFI_PEI_MM_CLOSE)(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MM_ACCESS_PPI *This, IN UINTN DescriptorIndex)
Definition: MmAccess.h:69
EFI_STATUS(EFIAPI * EFI_PEI_MM_LOCK)(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MM_ACCESS_PPI *This, IN UINTN DescriptorIndex)
Definition: MmAccess.h:89
EFI_STATUS(EFIAPI * EFI_PEI_MM_CAPABILITIES)(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MM_ACCESS_PPI *This, IN OUT UINTN *MmramMapSize, IN OUT EFI_MMRAM_DESCRIPTOR *MmramMap)
Definition: MmAccess.h:131
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213