blob: 7852d59563867e01dad11d441ac2933b22c9d020 [file] [log] [blame]
Ronak Kanabar1ae366f2023-06-07 01:21:56 +05301/** @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#ifndef _DEBUG_PORT_TABLE_H_
11#define _DEBUG_PORT_TABLE_H_
12
13#include <IndustryStandard/Acpi.h>
14
15//
16// Ensure proper structure formats
17//
18#pragma pack(1)
19
20//
21// Debug Port Table definition.
22//
23typedef struct {
24 EFI_ACPI_DESCRIPTION_HEADER Header;
25 UINT8 InterfaceType;
26 UINT8 Reserved_37[3];
27 EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE BaseAddress;
28} EFI_ACPI_DEBUG_PORT_DESCRIPTION_TABLE;
29
30#pragma pack()
31
32//
33// DBGP Revision (defined in spec)
34//
35#define EFI_ACPI_DEBUG_PORT_TABLE_REVISION 0x01
36
37//
38// Interface Type
39//
40#define EFI_ACPI_DBGP_INTERFACE_TYPE_FULL_16550 0
41#define EFI_ACPI_DBGP_INTERFACE_TYPE_16550_SUBSET_COMPATIBLE_WITH_MS_DBGP_SPEC 1
42
43#endif