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