]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/IndustryStandard/DebugPortTable.h
Add debug port and debug port 2 table.
[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, Intel Corporation. All rights reserved.<BR>
6 This software and associated documentation (if any) is furnished
7 under a license and may only be used or copied in accordance
8 with the terms of the license. Except as permitted by such
9 license, no part of this software or documentation may be
10 reproduced, stored in a retrieval system, or transmitted in any
11 form or by any means without the express written consent of
12 Intel Corporation.
13
14 **/
15
16
17 #ifndef _DEBUG_PORT_TABLE_H_
18 #define _DEBUG_PORT_TABLE_H_
19
20 #include <IndustryStandard/Acpi.h>
21
22 //
23 // Ensure proper structure formats
24 //
25 #pragma pack(1)
26
27 //
28 // Debug Port Table definition.
29 //
30 typedef struct {
31 EFI_ACPI_DESCRIPTION_HEADER Header;
32 UINT8 InterfaceType;
33 UINT8 Reserved_37[3];
34 EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE BaseAddress;
35 } EFI_ACPI_DEBUG_PORT_DESCRIPTION_TABLE;
36
37 #pragma pack()
38
39 //
40 // DBGP Revision (defined in spec)
41 //
42 #define EFI_ACPI_DEBUG_PORT_TABLE_REVISION 0x01
43
44 //
45 // Interface Type
46 //
47 #define EFI_ACPI_DBGP_INTERFACE_TYPE_FULL_16550 0
48 #define EFI_ACPI_DBGP_INTERFACE_TYPE_16550_SUBSET_COMPATIBLE_WITH_MS_DBGP_SPEC 1
49
50 #endif