]>
Commit | Line | Data |
---|---|---|
42eedea9 | 1 | /** @file\r |
568eb0cb | 2 | ACPI memory mapped configuration space access table definition, defined at \r |
000f6a28 | 3 | in the PCI Firmware Specification, version 3.0.\r |
568eb0cb | 4 | Specification is available at http://www.pcisig.com.\r |
5 | \r | |
000f6a28 | 6 | Copyright (c) 2007 - 2008, Intel Corporation\r |
568eb0cb | 7 | All rights reserved. This program and the accompanying materials \r |
8 | are licensed and made available under the terms and conditions of the BSD License \r | |
9 | which accompanies this distribution. The full text of the license may be found at \r | |
10 | http://opensource.org/licenses/bsd-license.php \r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
14 | **/\r | |
15 | \r | |
16 | #ifndef _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_\r | |
17 | #define _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_\r | |
18 | \r | |
766f4bc1 | 19 | //\r |
20 | // Ensure proper structure formats\r | |
21 | //\r | |
22 | #pragma pack(1)\r | |
23 | \r | |
1bc5d021 | 24 | ///\r |
25 | /// Memory Mapped Configuration Space Access Table (MCFG)\r | |
26 | /// This table is a basic description table header followed by\r | |
27 | /// a number of base address allocation structures.\r | |
28 | ///\r | |
568eb0cb | 29 | typedef struct {\r |
30 | UINT64 BaseAddress;\r | |
31 | UINT16 PciSegmentGroupNumber;\r | |
32 | UINT8 StartBusNumber;\r | |
33 | UINT8 EndBusNumber;\r | |
34 | UINT32 Reserved;\r | |
35 | } EFI_ACPI_MEMORY_MAPPED_ENHANCED_CONFIGURATION_SPACE_BASE_ADDRESS_ALLOCATION_STRUCTURE;\r | |
1bc5d021 | 36 | \r |
37 | ///\r | |
38 | /// MCFG Table header definition. The rest of the table \r | |
39 | /// must be defined in a platform specific manner.\r | |
40 | ///\r | |
3431f363 | 41 | typedef struct {\r |
42 | EFI_ACPI_DESCRIPTION_HEADER Header;\r | |
43 | UINT64 Reserved;\r | |
44 | } EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_BASE_ADDRESS_TABLE_HEADER;\r | |
1bc5d021 | 45 | \r |
46 | ///\r | |
47 | /// MCFG Revision (defined in spec)\r | |
48 | ///\r | |
568eb0cb | 49 | #define EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_REVISION 0x01\r |
50 | \r | |
766f4bc1 | 51 | #pragma pack()\r |
52 | \r | |
568eb0cb | 53 | #endif\r |