]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Include/IndustryStandard/DebugPortTable.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / DebugPortTable.h
... / ...
CommitLineData
1/** @file\r
2 ACPI debug port table definition, defined at\r
3 Microsoft DebugPortSpecification.\r
4\r
5 Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>\r
6 SPDX-License-Identifier: BSD-2-Clause-Patent\r
7\r
8**/\r
9\r
10\r
11#ifndef _DEBUG_PORT_TABLE_H_\r
12#define _DEBUG_PORT_TABLE_H_\r
13\r
14#include <IndustryStandard/Acpi.h>\r
15\r
16//\r
17// Ensure proper structure formats\r
18//\r
19#pragma pack(1)\r
20\r
21//\r
22// Debug Port Table definition.\r
23//\r
24typedef struct {\r
25 EFI_ACPI_DESCRIPTION_HEADER Header;\r
26 UINT8 InterfaceType;\r
27 UINT8 Reserved_37[3];\r
28 EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE BaseAddress;\r
29} EFI_ACPI_DEBUG_PORT_DESCRIPTION_TABLE;\r
30\r
31#pragma pack()\r
32\r
33//\r
34// DBGP Revision (defined in spec)\r
35//\r
36#define EFI_ACPI_DEBUG_PORT_TABLE_REVISION 0x01\r
37\r
38//\r
39// Interface Type\r
40//\r
41#define EFI_ACPI_DBGP_INTERFACE_TYPE_FULL_16550 0\r
42#define EFI_ACPI_DBGP_INTERFACE_TYPE_16550_SUBSET_COMPATIBLE_WITH_MS_DBGP_SPEC 1\r
43\r
44#endif\r