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