]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Acpi/AcpiTables/Mcfg/Mcfg.h
3703132a9a255b601ef04bb7ab01b8fe0ea92e44
[mirror_edk2.git] / QuarkPlatformPkg / Acpi / AcpiTables / Mcfg / Mcfg.h
1 /** @file
2 This file describes the contents of the ACPI Memory Mapped Configuration
3 Space Access Table (MCFG). Some additional ACPI values are defined in Acpi10.h,
4 Acpi20.h, and Acpi30.h.
5
6 Copyright (c) 2013-2015 Intel Corporation.
7
8 SPDX-License-Identifier: BSD-2-Clause-Patent
9
10 **/
11
12 #ifndef _MCFG_H_
13 #define _MCFG_H_
14
15 //
16 // Statements that include other files
17 //
18
19 #include <IndustryStandard/Acpi.h>
20 #include <IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h>
21
22 //
23 // MCFG Definitions
24 //
25
26 #define EFI_ACPI_OEM_MCFG_REVISION 0x00000001
27
28 //
29 // Define the number of allocation structures so that we can build the table structure.
30 //
31
32 #define EFI_ACPI_ALLOCATION_STRUCTURE_COUNT 1
33
34 //
35 // MCFG structure
36 //
37
38 //
39 // Ensure proper structure formats
40 //
41 #pragma pack (1)
42
43 //
44 // MCFG Table structure
45 //
46 typedef struct {
47 EFI_ACPI_DESCRIPTION_HEADER Header;
48 UINT64 Reserved;
49 #if EFI_ACPI_ALLOCATION_STRUCTURE_COUNT > 0
50 EFI_ACPI_MEMORY_MAPPED_ENHANCED_CONFIGURATION_SPACE_BASE_ADDRESS_ALLOCATION_STRUCTURE AllocationStructure[EFI_ACPI_ALLOCATION_STRUCTURE_COUNT];
51 #endif
52 } EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_DESCRIPTION_TABLE;
53
54 #pragma pack ()
55
56 #endif