TianoCore EDK2 master
Loading...
Searching...
No Matches
LegacyRegion2.h
Go to the documentation of this file.
1
14#ifndef __LEGACY_REGION2_H__
15#define __LEGACY_REGION2_H__
16
17#define EFI_LEGACY_REGION2_PROTOCOL_GUID \
18{ \
19 0x70101eaf, 0x85, 0x440c, {0xb3, 0x56, 0x8e, 0xe3, 0x6f, 0xef, 0x24, 0xf0 } \
20}
21
23
48typedef
52 IN UINT32 Start,
53 IN UINT32 Length,
54 OUT UINT32 *Granularity,
55 IN BOOLEAN *On
56 );
57
78typedef
82 IN UINT32 Start,
83 IN UINT32 Length,
84 OUT UINT32 *Granularity
85 );
86
112typedef
116 IN UINT32 Start,
117 IN UINT32 Length,
118 OUT UINT32 *Granularity OPTIONAL
119 );
120
141typedef
145 IN UINT32 Start,
146 IN UINT32 Length,
147 OUT UINT32 *Granularity
148 );
149
150typedef enum {
159
160typedef struct {
165 UINT32 Start;
169 UINT32 Length;
181
201typedef
205 OUT UINT32 *DescriptorCount,
207 );
208
221};
222
223extern EFI_GUID gEfiLegacyRegion2ProtocolGuid;
224
225#endif
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_LEGACY_REGION_ATTRIBUTE
@ LegacyRegionDecoded
This region is currently set to allow reads.
@ LegacyRegionNotLocked
This region's attributes are not locked.
@ LegacyRegionWriteEnabled
This region is currently set to allow writes.
@ LegacyRegionWriteDisabled
This region is currently set to write protected.
@ LegacyRegionNotDecoded
This region is currently set to not allow reads.
@ LegacyRegionBootLocked
EFI_STATUS(EFIAPI * EFI_LEGACY_REGION_GET_INFO)(IN EFI_LEGACY_REGION2_PROTOCOL *This, OUT UINT32 *DescriptorCount, OUT EFI_LEGACY_REGION_DESCRIPTOR **Descriptor)
EFI_STATUS(EFIAPI * EFI_LEGACY_REGION2_LOCK)(IN EFI_LEGACY_REGION2_PROTOCOL *This, IN UINT32 Start, IN UINT32 Length, OUT UINT32 *Granularity)
Definition: LegacyRegion2.h:80
EFI_STATUS(EFIAPI * EFI_LEGACY_REGION2_BOOT_LOCK)(IN EFI_LEGACY_REGION2_PROTOCOL *This, IN UINT32 Start, IN UINT32 Length, OUT UINT32 *Granularity OPTIONAL)
EFI_STATUS(EFIAPI * EFI_LEGACY_REGION2_DECODE)(IN EFI_LEGACY_REGION2_PROTOCOL *This, IN UINT32 Start, IN UINT32 Length, OUT UINT32 *Granularity, IN BOOLEAN *On)
Definition: LegacyRegion2.h:50
EFI_STATUS(EFIAPI * EFI_LEGACY_REGION2_UNLOCK)(IN EFI_LEGACY_REGION2_PROTOCOL *This, IN UINT32 Start, IN UINT32 Length, OUT UINT32 *Granularity)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_LEGACY_REGION_ATTRIBUTE Attribute
Definition: Base.h:213