]>
Commit | Line | Data |
---|---|---|
42eedea9 | 1 | /** @file\r |
9095d37b | 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 |
9095d37b LG |
5 | \r |
6 | Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
9344f092 | 7 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
568eb0cb | 8 | **/\r |
9 | \r | |
10 | #ifndef _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_\r | |
11 | #define _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_\r | |
12 | \r | |
322969ad WK |
13 | #include <IndustryStandard/Acpi.h>\r |
14 | \r | |
766f4bc1 | 15 | //\r |
16 | // Ensure proper structure formats\r | |
17 | //\r | |
18 | #pragma pack(1)\r | |
19 | \r | |
1bc5d021 | 20 | ///\r |
21 | /// Memory Mapped Configuration Space Access Table (MCFG)\r | |
22 | /// This table is a basic description table header followed by\r | |
23 | /// a number of base address allocation structures.\r | |
24 | ///\r | |
568eb0cb | 25 | typedef struct {\r |
26 | UINT64 BaseAddress;\r | |
27 | UINT16 PciSegmentGroupNumber;\r | |
28 | UINT8 StartBusNumber;\r | |
29 | UINT8 EndBusNumber;\r | |
30 | UINT32 Reserved;\r | |
31 | } EFI_ACPI_MEMORY_MAPPED_ENHANCED_CONFIGURATION_SPACE_BASE_ADDRESS_ALLOCATION_STRUCTURE;\r | |
1bc5d021 | 32 | \r |
33 | ///\r | |
9095d37b | 34 | /// MCFG Table header definition. The rest of the table\r |
1bc5d021 | 35 | /// must be defined in a platform specific manner.\r |
36 | ///\r | |
3431f363 | 37 | typedef struct {\r |
38 | EFI_ACPI_DESCRIPTION_HEADER Header;\r | |
39 | UINT64 Reserved;\r | |
40 | } EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_BASE_ADDRESS_TABLE_HEADER;\r | |
1bc5d021 | 41 | \r |
42 | ///\r | |
43 | /// MCFG Revision (defined in spec)\r | |
44 | ///\r | |
568eb0cb | 45 | #define EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_REVISION 0x01\r |
46 | \r | |
766f4bc1 | 47 | #pragma pack()\r |
48 | \r | |
568eb0cb | 49 | #endif\r |