2 GCD Operations and data structure used to
3 convert from GCD attributes to EFI Memory Map attributes.
5 Copyright (c) 2006 - 2008, Intel Corporation. <BR>
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 #define GCD_MEMORY_SPACE_OPERATION 0x20
23 #define GCD_IO_SPACE_OPERATION 0x40
25 #define GCD_ADD_MEMORY_OPERATION (GCD_MEMORY_SPACE_OPERATION | 0)
26 #define GCD_ALLOCATE_MEMORY_OPERATION (GCD_MEMORY_SPACE_OPERATION | 1)
27 #define GCD_FREE_MEMORY_OPERATION (GCD_MEMORY_SPACE_OPERATION | 2)
28 #define GCD_REMOVE_MEMORY_OPERATION (GCD_MEMORY_SPACE_OPERATION | 3)
29 #define GCD_SET_ATTRIBUTES_MEMORY_OPERATION (GCD_MEMORY_SPACE_OPERATION | 4)
31 #define GCD_ADD_IO_OPERATION (GCD_IO_SPACE_OPERATION | 0)
32 #define GCD_ALLOCATE_IO_OPERATION (GCD_IO_SPACE_OPERATION | 1)
33 #define GCD_FREE_IO_OPERATION (GCD_IO_SPACE_OPERATION | 2)
34 #define GCD_REMOVE_IO_OPERATION (GCD_IO_SPACE_OPERATION | 3)
37 // The data structure used to convert from GCD attributes to EFI Memory Map attributes
43 } GCD_ATTRIBUTE_CONVERSION_ENTRY
;