+++ /dev/null
-/*++\r
-\r
-Copyright (c) 1999 - 2006, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution. The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-\r
-Module Name:\r
-\r
- LegacyRegion.h\r
- \r
-Abstract:\r
-\r
- This protocol manages the legacy memory regions between 0xc0000 - 0xfffff\r
-\r
-Revision History\r
-\r
- The EFI Legacy Region Protocol is compliant with CSM spec 0.96.\r
-\r
---*/\r
-\r
-#ifndef _EFI_LEGACY_REGION_H_\r
-#define _EFI_LEGACY_REGION_H_\r
-\r
-#define EFI_LEGACY_REGION_PROTOCOL_GUID \\r
- { \\r
- 0xfc9013a, 0x568, 0x4ba9, {0x9b, 0x7e, 0xc9, 0xc3, 0x90, 0xa6, 0x60, 0x9b} \\r
- }\r
-\r
-EFI_FORWARD_DECLARATION (EFI_LEGACY_REGION_PROTOCOL);\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_LEGACY_REGION_DECODE) (\r
- IN EFI_LEGACY_REGION_PROTOCOL * This,\r
- IN UINT32 Start,\r
- IN UINT32 Length,\r
- IN BOOLEAN *On\r
- );\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_LEGACY_REGION_LOCK) (\r
- IN EFI_LEGACY_REGION_PROTOCOL * This,\r
- IN UINT32 Start,\r
- IN UINT32 Length,\r
- OUT UINT32 *Granularity OPTIONAL\r
- );\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_LEGACY_REGION_BOOT_LOCK) (\r
- IN EFI_LEGACY_REGION_PROTOCOL * This,\r
- IN UINT32 Start,\r
- IN UINT32 Length,\r
- OUT UINT32 *Granularity OPTIONAL\r
- );\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_LEGACY_REGION_UNLOCK) (\r
- IN EFI_LEGACY_REGION_PROTOCOL * This,\r
- IN UINT32 Start,\r
- IN UINT32 Length,\r
- OUT UINT32 *Granularity OPTIONAL\r
- );\r
-\r
-struct _EFI_LEGACY_REGION_PROTOCOL {\r
- EFI_LEGACY_REGION_DECODE Decode;\r
- EFI_LEGACY_REGION_LOCK Lock;\r
- EFI_LEGACY_REGION_BOOT_LOCK BootLock;\r
- EFI_LEGACY_REGION_UNLOCK UnLock;\r
-};\r
-\r
-extern EFI_GUID gEfiLegacyRegionProtocolGuid;\r
-\r
-#endif\r