TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmMemoryAttribute.h
Go to the documentation of this file.
1
10#ifndef __SMM_MEMORYATTRIBUTE_H__
11#define __SMM_MEMORYATTRIBUTE_H__
12
13// {69B792EA-39CE-402D-A2A6-F721DE351DFE}
14#define EDKII_SMM_MEMORY_ATTRIBUTE_PROTOCOL_GUID \
15 { \
16 0x69b792ea, 0x39ce, 0x402d, { 0xa2, 0xa6, 0xf7, 0x21, 0xde, 0x35, 0x1d, 0xfe } \
17 }
18
20
44typedef
48 IN EFI_PHYSICAL_ADDRESS BaseAddress,
49 IN UINT64 Length,
50 IN UINT64 Attributes
51 );
52
76typedef
80 IN EFI_PHYSICAL_ADDRESS BaseAddress,
81 IN UINT64 Length,
82 IN UINT64 Attributes
83 );
84
106typedef
110 IN EFI_PHYSICAL_ADDRESS BaseAddress,
111 IN UINT64 Length,
112 OUT UINT64 *Attributes
113 );
114
120 EDKII_SMM_GET_MEMORY_ATTRIBUTES GetMemoryAttributes;
121 EDKII_SMM_SET_MEMORY_ATTRIBUTES SetMemoryAttributes;
122 EDKII_SMM_CLEAR_MEMORY_ATTRIBUTES ClearMemoryAttributes;
123};
124
125extern EFI_GUID gEdkiiSmmMemoryAttributeProtocolGuid;
126
127#endif
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EDKII_SMM_SET_MEMORY_ATTRIBUTES)(IN EDKII_SMM_MEMORY_ATTRIBUTE_PROTOCOL *This, IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINT64 Attributes)
EFI_STATUS(EFIAPI * EDKII_SMM_GET_MEMORY_ATTRIBUTES)(IN EDKII_SMM_MEMORY_ATTRIBUTE_PROTOCOL *This, IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, OUT UINT64 *Attributes)
EFI_STATUS(EFIAPI * EDKII_SMM_CLEAR_MEMORY_ATTRIBUTES)(IN EDKII_SMM_MEMORY_ATTRIBUTE_PROTOCOL *This, IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINT64 Attributes)
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213