]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h
1. Add DPC protocol and DpcLib library in MdeModulePkg.
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / MemoryMappedConfigurationSpaceAccessTable.h
CommitLineData
568eb0cb 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
6 Copyright (c) 2007, Intel Corporation\r
7 All rights reserved. This program and the accompanying materials \r
8 are licensed and made available under the terms and conditions of the BSD License \r
9 which accompanies this distribution. The full text of the license may be found at \r
10 http://opensource.org/licenses/bsd-license.php \r
11\r
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
14**/\r
15\r
16#ifndef _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_\r
17#define _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_\r
18\r
19//\r
20// Ensure proper structure formats\r
21//\r
22#pragma pack(1)\r
23//\r
24// Memory Mapped Configuration Space Access Table (MCFG)\r
25// This table is a basic description table header followed by\r
26// a number of base address allocation structures.\r
27//\r
28typedef struct {\r
29 UINT64 BaseAddress;\r
30 UINT16 PciSegmentGroupNumber;\r
31 UINT8 StartBusNumber;\r
32 UINT8 EndBusNumber;\r
33 UINT32 Reserved;\r
34} EFI_ACPI_MEMORY_MAPPED_ENHANCED_CONFIGURATION_SPACE_BASE_ADDRESS_ALLOCATION_STRUCTURE;\r
35\r
36//\r
37// MCFG Revision (defined in spec)\r
38//\r
39#define EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_REVISION 0x01\r
40\r
41#pragma pack()\r
42\r
43#endif\r