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 program and the accompanying materials 7 are licensed and made available under the terms and conditions of the BSD License 8 which accompanies this distribution. The full text of the license may be found at 9 http://opensource.org/licenses/bsd-license.php 10 11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 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// 30typedef 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 51