TianoCore EDK2 master
Loading...
Searching...
No Matches
MemoryAttribute.h
Go to the documentation of this file.
1
12#ifndef EFI_MEMORY_ATTRIBUTE_H_
13#define EFI_MEMORY_ATTRIBUTE_H_
14
15#define EFI_MEMORY_ATTRIBUTE_PROTOCOL_GUID \
16 { \
17 0xf4560cf6, 0x40ec, 0x4b4a, { 0xa1, 0x92, 0xbf, 0x1d, 0x57, 0xd0, 0xb1, 0x89 } \
18 }
19
21
52typedef
56 IN EFI_PHYSICAL_ADDRESS BaseAddress,
57 IN UINT64 Length,
58 IN UINT64 Attributes
59 );
60
91typedef
95 IN EFI_PHYSICAL_ADDRESS BaseAddress,
96 IN UINT64 Length,
97 IN UINT64 Attributes
98 );
99
121typedef
125 IN EFI_PHYSICAL_ADDRESS BaseAddress,
126 IN UINT64 Length,
127 OUT UINT64 *Attributes
128 );
129
135 EFI_GET_MEMORY_ATTRIBUTES GetMemoryAttributes;
136 EFI_SET_MEMORY_ATTRIBUTES SetMemoryAttributes;
137 EFI_CLEAR_MEMORY_ATTRIBUTES ClearMemoryAttributes;
138};
139
140extern EFI_GUID gEfiMemoryAttributeProtocolGuid;
141
142#endif
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_GET_MEMORY_ATTRIBUTES)(IN EFI_MEMORY_ATTRIBUTE_PROTOCOL *This, IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, OUT UINT64 *Attributes)
EFI_STATUS(EFIAPI * EFI_CLEAR_MEMORY_ATTRIBUTES)(IN EFI_MEMORY_ATTRIBUTE_PROTOCOL *This, IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINT64 Attributes)
EFI_STATUS(EFIAPI * EFI_SET_MEMORY_ATTRIBUTES)(IN EFI_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