]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Acpi/AcpiTables/Mcfg/Mcfg.aslc
ArmPkg/CompilerIntrinsicsLib: Add uread, uwrite GCC assembly sources
[mirror_edk2.git] / QuarkPlatformPkg / Acpi / AcpiTables / Mcfg / Mcfg.aslc
1 /** @file
2 This file contains a structure definition for the ACPI Memory Mapped Configuration
3 Address Space table (MCFG). Any changes to the number of entries in the table require
4 updating the structure count in Mcfg.h and then adding the structure to the
5 MCFG defined in this file. The table layout is defined in Mcfg.h and the
6 table contents are defined in the MemoryMappedConfigurationSpaceAccessTable.h.
7
8 Copyright (c) 2013-2015 Intel Corporation.
9
10 SPDX-License-Identifier: BSD-2-Clause-Patent
11
12 **/
13
14 //
15 // Statements that include other files
16 //
17
18 #include "Mcfg.h"
19
20 //
21 // Multiple APIC Description Table
22 //
23
24 EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_DESCRIPTION_TABLE Mcfg = {
25 {
26 EFI_ACPI_3_0_PCI_EXPRESS_MEMORY_MAPPED_CONFIGURATION_SPACE_BASE_ADDRESS_DESCRIPTION_TABLE_SIGNATURE,
27 sizeof (EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_DESCRIPTION_TABLE),
28 EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_REVISION,
29
30 //
31 // Checksum will be updated at runtime
32 //
33 0x00,
34
35 //
36 // It is expected that these values will be programmed at runtime
37 //
38 {' ', ' ', ' ', ' ', ' ', ' '},
39
40 0,
41 EFI_ACPI_OEM_MCFG_REVISION,
42 0,
43 0
44 },
45 //
46 // Reserved
47 //
48 0x0000000000000000,
49
50 //
51 // MCFG specific fields
52 //
53
54 {
55 {
56 0x00000000, // BaseAddress (will be updated at runtime)
57 0x0000, // PciSegmentGroupNumber
58 0x00, // StartBusNumber
59 0x1F, // EndBusNumber
60 0x00000000 // Reserved
61 }
62 }
63 };
64
65 VOID*
66 ReferenceAcpiTable (
67 VOID
68 )
69 {
70 //
71 // Reference the table being generated to prevent the optimizer from removing the
72 // data structure from the exeutable
73 //
74 return (VOID*)&Mcfg;
75 }