14#ifndef __LEGACY_REGION2_H__
15#define __LEGACY_REGION2_H__
17#define EFI_LEGACY_REGION2_PROTOCOL_GUID \
19 0x70101eaf, 0x85, 0x440c, {0xb3, 0x56, 0x8e, 0xe3, 0x6f, 0xef, 0x24, 0xf0 } \
54 OUT UINT32 *Granularity,
84 OUT UINT32 *Granularity
147 OUT UINT32 *Granularity
205 OUT UINT32 *DescriptorCount,
223extern EFI_GUID gEfiLegacyRegion2ProtocolGuid;
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.
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)
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)
EFI_STATUS(EFIAPI * EFI_LEGACY_REGION2_UNLOCK)(IN EFI_LEGACY_REGION2_PROTOCOL *This, IN UINT32 Start, IN UINT32 Length, OUT UINT32 *Granularity)
EFI_LEGACY_REGION_ATTRIBUTE Attribute