]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h
1, Add <Library/DevicePathLib.h> for all source that use device path utility macros
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / MemoryMappedConfigurationSpaceAccessTable.h
CommitLineData
42eedea9 1/** @file\r
568eb0cb 2 ACPI memory mapped configuration space access table definition, defined at \r
000f6a28 3 in the PCI Firmware Specification, version 3.0.\r
568eb0cb 4 Specification is available at http://www.pcisig.com.\r
5 \r
000f6a28 6 Copyright (c) 2007 - 2008, Intel Corporation\r
568eb0cb 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
1bc5d021 19///\r
20/// Memory Mapped Configuration Space Access Table (MCFG)\r
21/// This table is a basic description table header followed by\r
22/// a number of base address allocation structures.\r
23///\r
568eb0cb 24typedef struct {\r
25 UINT64 BaseAddress;\r
26 UINT16 PciSegmentGroupNumber;\r
27 UINT8 StartBusNumber;\r
28 UINT8 EndBusNumber;\r
29 UINT32 Reserved;\r
30} EFI_ACPI_MEMORY_MAPPED_ENHANCED_CONFIGURATION_SPACE_BASE_ADDRESS_ALLOCATION_STRUCTURE;\r
1bc5d021 31\r
32///\r
33/// MCFG Table header definition. The rest of the table \r
34/// must be defined in a platform specific manner.\r
35///\r
3431f363 36typedef struct {\r
37 EFI_ACPI_DESCRIPTION_HEADER Header;\r
38 UINT64 Reserved;\r
39} EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_BASE_ADDRESS_TABLE_HEADER;\r
1bc5d021 40\r
41///\r
42/// MCFG Revision (defined in spec)\r
43///\r
568eb0cb 44#define EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_REVISION 0x01\r
45\r
568eb0cb 46#endif\r