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 This program and the accompanying materials 9 are licensed and made available under the terms and conditions of the BSD License 10 which accompanies this distribution. The full text of the license may be found at 11 http://opensource.org/licenses/bsd-license.php 12 13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 15 16 **/ 17 18 #ifndef _MCFG_H_ 19 #define _MCFG_H_ 20 21 // 22 // Statements that include other files 23 // 24 25 #include <IndustryStandard/Acpi.h> 26 #include <IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h> 27 28 // 29 // MCFG Definitions 30 // 31 32 #define EFI_ACPI_OEM_MCFG_REVISION 0x00000001 33 34 // 35 // Define the number of allocation structures so that we can build the table structure. 36 // 37 38 #define EFI_ACPI_ALLOCATION_STRUCTURE_COUNT 1 39 40 // 41 // MCFG structure 42 // 43 44 // 45 // Ensure proper structure formats 46 // 47 #pragma pack (1) 48 49 // 50 // MCFG Table structure 51 // 52 typedef struct { 53 EFI_ACPI_DESCRIPTION_HEADER Header; 54 UINT64 Reserved; 55 #if EFI_ACPI_ALLOCATION_STRUCTURE_COUNT > 0 56 EFI_ACPI_MEMORY_MAPPED_ENHANCED_CONFIGURATION_SPACE_BASE_ADDRESS_ALLOCATION_STRUCTURE AllocationStructure[EFI_ACPI_ALLOCATION_STRUCTURE_COUNT]; 57 #endif 58 } EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_DESCRIPTION_TABLE; 59 60 #pragma pack () 61 62 #endif 63