]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/UniversalPayload/SerialPortInfo.h
MdeModulePkg: Apply uncrustify changes
[mirror_edk2.git] / MdeModulePkg / Include / UniversalPayload / SerialPortInfo.h
CommitLineData
ea0bd5f6
ZL
1/** @file\r
2 This file defines the structure for serial port info.\r
3\r
4 Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>\r
5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
6\r
7 @par Revision Reference:\r
8 - Universal Payload Specification 0.75 (https://universalpayload.github.io/documentation/)\r
9**/\r
10\r
11#ifndef UNIVERSAL_PAYLOAD_SERIAL_PORT_INFO_H_\r
12#define UNIVERSAL_PAYLOAD_SERIAL_PORT_INFO_H_\r
13\r
14#include <UniversalPayload/UniversalPayload.h>\r
15\r
16#pragma pack(1)\r
17typedef struct {\r
1436aea4
MK
18 UNIVERSAL_PAYLOAD_GENERIC_HEADER Header;\r
19 BOOLEAN UseMmio;\r
20 UINT8 RegisterStride;\r
21 UINT32 BaudRate;\r
22 EFI_PHYSICAL_ADDRESS RegisterBase;\r
ea0bd5f6
ZL
23} UNIVERSAL_PAYLOAD_SERIAL_PORT_INFO;\r
24#pragma pack()\r
25\r
1436aea4 26#define UNIVERSAL_PAYLOAD_SERIAL_PORT_INFO_REVISION 1\r
ea0bd5f6 27\r
1436aea4 28extern GUID gUniversalPayloadSerialPortInfoGuid;\r
ea0bd5f6
ZL
29\r
30#endif // UNIVERSAL_PAYLOAD_SERIAL_PORT_INFO_H_\r