]>
Commit | Line | Data |
---|---|---|
18c49707 JY |
1 | /** @file \r |
2 | ACPI debug port table definition, defined at \r | |
3 | Microsoft DebugPortSpecification.\r | |
4 | \r | |
5 | Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>\r | |
6 | This software and associated documentation (if any) is furnished\r | |
7 | under a license and may only be used or copied in accordance\r | |
8 | with the terms of the license. Except as permitted by such\r | |
9 | license, no part of this software or documentation may be\r | |
10 | reproduced, stored in a retrieval system, or transmitted in any\r | |
11 | form or by any means without the express written consent of\r | |
12 | Intel 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 | |
30 | typedef 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 |