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