]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/DebugPortTable.h
MdePkg: TpmPtp: Add CapCRBIdleBypass definition
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / DebugPortTable.h
CommitLineData
18c49707
JY
1/** @file \r
2 ACPI debug port table definition, defined at \r
3 Microsoft DebugPortSpecification.\r
4\r
90cce8c4
HT
5 Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>\r
6 This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
18c49707
JY
13\r
14**/\r
15\r
16\r
17#ifndef _DEBUG_PORT_TABLE_H_\r
18#define _DEBUG_PORT_TABLE_H_\r
19\r
20#include <IndustryStandard/Acpi.h>\r
21\r
22//\r
23// Ensure proper structure formats\r
24//\r
25#pragma pack(1)\r
26\r
27//\r
28// Debug Port Table definition.\r
29//\r
30typedef struct {\r
31 EFI_ACPI_DESCRIPTION_HEADER Header;\r
32 UINT8 InterfaceType;\r
33 UINT8 Reserved_37[3];\r
34 EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE BaseAddress;\r
35} EFI_ACPI_DEBUG_PORT_DESCRIPTION_TABLE;\r
36\r
37#pragma pack()\r
38\r
39//\r
40// DBGP Revision (defined in spec)\r
41//\r
42#define EFI_ACPI_DEBUG_PORT_TABLE_REVISION 0x01\r
43\r
44//\r
45// Interface Type\r
46//\r
47#define EFI_ACPI_DBGP_INTERFACE_TYPE_FULL_16550 0\r
48#define EFI_ACPI_DBGP_INTERFACE_TYPE_16550_SUBSET_COMPATIBLE_WITH_MS_DBGP_SPEC 1\r
49\r
50#endif\r