57 OUT UINT32 *Granularity,
61 if ((Start < 0xC0000) || ((Start + Length - 1) > 0xFFFFF)) {
62 return EFI_INVALID_PARAMETER;
65 ASSERT (Granularity !=
NULL);
96 OUT UINT32 *Granularity
99 if ((Start < 0xC0000) || ((Start + Length - 1) > 0xFFFFF)) {
100 return EFI_INVALID_PARAMETER;
103 ASSERT (Granularity !=
NULL);
139 OUT UINT32 *Granularity
142 if ((Start < 0xC0000) || ((Start + Length - 1) > 0xFFFFF)) {
143 return EFI_INVALID_PARAMETER;
146 return EFI_UNSUPPORTED;
175 OUT UINT32 *Granularity
178 if ((Start < 0xC0000) || ((Start + Length - 1) > 0xFFFFF)) {
179 return EFI_INVALID_PARAMETER;
182 ASSERT (Granularity !=
NULL);
210 OUT UINT32 *DescriptorCount,
214 return EFI_UNSUPPORTED;
243 Status =
gBS->InstallMultipleProtocolInterfaces (
244 &mLegacyRegion2Handle,
245 &gEfiLegacyRegion2ProtocolGuid,
EFI_STATUS EFIAPI LegacyRegion2Lock(IN EFI_LEGACY_REGION2_PROTOCOL *This, IN UINT32 Start, IN UINT32 Length, OUT UINT32 *Granularity)
EFI_STATUS EFIAPI LegacyRegion2Unlock(IN EFI_LEGACY_REGION2_PROTOCOL *This, IN UINT32 Start, IN UINT32 Length, OUT UINT32 *Granularity)
EFI_STATUS EFIAPI LegacyRegion2Install(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI LegacyRegion2BootLock(IN EFI_LEGACY_REGION2_PROTOCOL *This, IN UINT32 Start, IN UINT32 Length, OUT UINT32 *Granularity)
EFI_STATUS EFIAPI LegacyRegionGetInfo(IN EFI_LEGACY_REGION2_PROTOCOL *This, OUT UINT32 *DescriptorCount, OUT EFI_LEGACY_REGION_DESCRIPTOR **Descriptor)
EFI_STATUS EFIAPI LegacyRegion2Decode(IN EFI_LEGACY_REGION2_PROTOCOL *This, IN UINT32 Start, IN UINT32 Length, OUT UINT32 *Granularity, IN BOOLEAN *On)
#define ASSERT_EFI_ERROR(StatusParameter)
#define ASSERT_PROTOCOL_ALREADY_INSTALLED(Handle, Guid)