]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/Include/McfgTable.h
Vlv2TbltDevicePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2TbltDevicePkg / Include / McfgTable.h
1 /*++
2
3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
4
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7
8
9 Module Name:
10
11 McfgTable.h
12
13 Abstract:
14
15 ACPI Memory mapped configuration space base address Description Table
16 definition, based on PCI Firmware Specification Revision 3.0 final draft,
17 downloadable at http://www.pcisig.com/home
18
19 **/
20
21 #ifndef _MCFG_TABLE_H_
22 #define _MCFG_TABLE_H_
23
24 //
25 // Include files
26 //
27 #include <PiDxe.h>
28
29 //
30 // Ensure proper structure formats
31 //
32 #pragma pack(1)
33
34 //
35 // MCFG Revision (defined in spec)
36 //
37 #define EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_BASE_ADDRESS_TABLE_REVISION 0x01
38
39 //
40 // MCFG Structure Definitions
41 //
42 //
43 // Memory Mapped Enhanced Configuration Base Address Allocation
44 // Structure Definition
45 //
46 typedef struct {
47 UINT64 BaseAddress;
48 UINT16 PciSegmentGroupNumber;
49 UINT8 StartBusNumber;
50 UINT8 EndBusNumber;
51 UINT32 Reserved;
52 } EFI_ACPI_MEMORY_MAPPED_ENHANCED_CONFIGURATION_BASE_ADDRESS_STRUCTURE;
53
54 //
55 // MCFG Table header definition. The rest of the table
56 // must be defined in a platform specific manner.
57 //
58 typedef struct {
59 EFI_ACPI_DESCRIPTION_HEADER Header;
60 UINT64 Reserved;
61 } EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_BASE_ADDRESS_TABLE_HEADER;
62
63 #pragma pack()
64
65 #endif // _MCFG_TABLE_H