]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/CCode/Source/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h
Add checking code for GenAcpiTable tools.
[mirror_edk2.git] / Tools / CCode / Source / Include / IndustryStandard / MemoryMappedConfigurationSpaceAccessTable.h
1 /*++
2
3 Copyright (c) 2006, Intel Corporation. All rights reserved.
4 This software and associated documentation (if any) is furnished
5 under a license and may only be used or copied in accordance
6 with the terms of the license. Except as permitted by such
7 license, no part of this software or documentation may be
8 reproduced, stored in a retrieval system, or transmitted in any
9 form or by any means without the express written consent of
10 Intel Corporation.
11
12
13 Module Name:
14
15 MemoryMappedConfigurationSpaceAccessTable.h
16
17 Abstract:
18
19 ACPI memory mapped configuration space access table definition, defined at
20 in the PCI Firmware Specification, version 3.0 draft version 0.5.
21 Specification is available at http://www.pcisig.com.
22
23 --*/
24
25 #ifndef _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_
26 #define _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_
27
28 //
29 // Ensure proper structure formats
30 //
31 #pragma pack(1)
32 //
33 // Memory Mapped Configuration Space Access Table (MCFG)
34 // This table is a basic description table header followed by
35 // a number of base address allocation structures.
36 //
37 typedef struct {
38 UINT64 BaseAddress;
39 UINT16 PciSegmentGroupNumber;
40 UINT8 StartBusNumber;
41 UINT8 EndBusNumber;
42 UINT32 Reserved;
43 } EFI_ACPI_MEMORY_MAPPED_ENHANCED_CONFIGURATION_SPACE_BASE_ADDRESS_ALLOCATION_STRUCTURE;
44
45 //
46 // MCFG Revision (defined in spec)
47 //
48 #define EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_REVISION 0x01
49
50 #pragma pack()
51
52 #endif