]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h
Check In tool source code based on Build tool project revision r1655.
[mirror_edk2.git] / BaseTools / Source / C / 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 draft version 0.5.
4 Specification is available at http://www.pcisig.com.
5
6 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
7
8 This program and the accompanying materials are licensed and made available
9 under the terms and conditions of the BSD License which accompanies this
10 distribution. The full text of the license may be found at:
11 http://opensource.org/licenses/bsd-license.php
12
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15
16 File Name: MemoryMappedConfigurationSpaceAccessTable.h
17
18 **/
19
20 #ifndef _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_
21 #define _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_
22
23 //
24 // Ensure proper structure formats
25 //
26 #pragma pack(1)
27 //
28 // Memory Mapped Configuration Space Access Table (MCFG)
29 // This table is a basic description table header followed by
30 // a number of base address allocation structures.
31 //
32 typedef struct {
33 UINT64 BaseAddress;
34 UINT16 PciSegmentGroupNumber;
35 UINT8 StartBusNumber;
36 UINT8 EndBusNumber;
37 UINT32 Reserved;
38 } EFI_ACPI_MEMORY_MAPPED_ENHANCED_CONFIGURATION_SPACE_BASE_ADDRESS_ALLOCATION_STRUCTURE;
39
40 //
41 // MCFG Revision (defined in spec)
42 //
43 #define EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_REVISION 0x01
44
45 #pragma pack()
46
47 #endif