]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h
BaseTools: Replace BSD License with BSD+Patent License
[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 - 2018, Intel Corporation. All rights reserved.<BR>
7
8 SPDX-License-Identifier: BSD-2-Clause-Patent
9
10 **/
11
12 #ifndef _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_
13 #define _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_
14
15 //
16 // Ensure proper structure formats
17 //
18 #pragma pack(1)
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 Revision (defined in spec)
34 //
35 #define EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_REVISION 0x01
36
37 #pragma pack()
38
39 #endif