]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/DebugPortTable.h
Add debug port and debug port 2 table.
[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
5Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>\r
6This software and associated documentation (if any) is furnished\r
7under a license and may only be used or copied in accordance\r
8with the terms of the license. Except as permitted by such\r
9license, no part of this software or documentation may be\r
10reproduced, stored in a retrieval system, or transmitted in any\r
11form or by any means without the express written consent of\r
12Intel Corporation.\r
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