]> git.proxmox.com Git - mirror_edk2.git/blob - UefiPayloadPkg/Include/Guid/SerialPortInfoGuid.h
UefiPayloadPkg: Enhance UEFI payload for coreboot and Slim Bootloader
[mirror_edk2.git] / UefiPayloadPkg / Include / Guid / SerialPortInfoGuid.h
1 /** @file
2 This file defines the hob structure for serial port.
3
4 Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef __SERIAL_PORT_INFO_GUID_H__
10 #define __SERIAL_PORT_INFO_GUID_H__
11
12 ///
13 /// Serial Port Information GUID
14 ///
15 extern EFI_GUID gUefiSerialPortInfoGuid;
16
17 #define PLD_SERIAL_TYPE_IO_MAPPED 1
18 #define PLD_SERIAL_TYPE_MEMORY_MAPPED 2
19
20 typedef struct {
21 UINT8 Revision;
22 UINT8 Reserved0[3];
23 UINT32 Type;
24 UINT32 BaseAddr;
25 UINT32 Baud;
26 UINT32 RegWidth;
27 UINT32 InputHertz;
28 UINT32 UartPciAddr;
29 } SERIAL_PORT_INFO;
30
31 #endif