]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2TbltDevicePkg/Include/McfgTable.h
IntelFrameworkModulePkg: Refine casting expression result to bigger size
[mirror_edk2.git] / Vlv2TbltDevicePkg / Include / McfgTable.h
CommitLineData
3cbfba02
DW
1/*++\r
2\r
3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>\r
4 \r\r
5 This program and the accompanying materials are licensed and made available under\r\r
6 the terms and conditions of the BSD License that accompanies this distribution. \r\r
7 The full text of the license may be found at \r\r
8 http://opensource.org/licenses/bsd-license.php. \r\r
9 \r\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r
12 \r\r
13\r
14Module Name:\r
15\r
16 McfgTable.h\r
17\r
18Abstract:\r
19\r
20 ACPI Memory mapped configuration space base address Description Table\r
21 definition, based on PCI Firmware Specification Revision 3.0 final draft,\r
22 downloadable at http://www.pcisig.com/home\r
23\r
24**/\r
25\r
26#ifndef _MCFG_TABLE_H_\r
27#define _MCFG_TABLE_H_\r
28\r
29//\r
30// Include files\r
31//\r
32#include <PiDxe.h>\r
33\r
34//\r
35// Ensure proper structure formats\r
36//\r
37#pragma pack(1)\r
38\r
39//\r
40// MCFG Revision (defined in spec)\r
41//\r
42#define EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_BASE_ADDRESS_TABLE_REVISION 0x01\r
43\r
44//\r
45// MCFG Structure Definitions\r
46//\r
47//\r
48// Memory Mapped Enhanced Configuration Base Address Allocation\r
49// Structure Definition\r
50//\r
51typedef struct {\r
52 UINT64 BaseAddress;\r
53 UINT16 PciSegmentGroupNumber;\r
54 UINT8 StartBusNumber;\r
55 UINT8 EndBusNumber;\r
56 UINT32 Reserved;\r
57} EFI_ACPI_MEMORY_MAPPED_ENHANCED_CONFIGURATION_BASE_ADDRESS_STRUCTURE;\r
58\r
59//\r
60// MCFG Table header definition. The rest of the table\r
61// must be defined in a platform specific manner.\r
62//\r
63typedef struct {\r
64 EFI_ACPI_DESCRIPTION_HEADER Header;\r
65 UINT64 Reserved;\r
66} EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_BASE_ADDRESS_TABLE_HEADER;\r
67\r
68#pragma pack()\r
69\r
70#endif // _MCFG_TABLE_H\r