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