]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - DuetPkg/DxeIpl/SerialStatusCode.h
Regenerate Fat binaries for the bug fix of LookupUnicodeString2() in UefiLib (r4655).
[mirror_edk2.git] / DuetPkg / DxeIpl / SerialStatusCode.h
... / ...
CommitLineData
1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13 SerialStatusCode.h\r
14\r
15Abstract:\r
16\r
17Revision History:\r
18\r
19--*/\r
20\r
21#ifndef _DXELDR_SERIAL_STATUS_CODE_H_\r
22#define _DXELDR_SERIAL_STATUS_CODE_H_\r
23\r
24//\r
25// Statements that include other files\r
26//\r
27#include "DxeIpl.h"\r
28\r
29//\r
30// GUID consumed\r
31//\r
32\r
33\r
34//---------------------------------------------\r
35// UART Register Offsets\r
36//---------------------------------------------\r
37#define BAUD_LOW_OFFSET 0x00\r
38#define BAUD_HIGH_OFFSET 0x01\r
39#define IER_OFFSET 0x01\r
40#define LCR_SHADOW_OFFSET 0x01\r
41#define FCR_SHADOW_OFFSET 0x02\r
42#define IR_CONTROL_OFFSET 0x02\r
43#define FCR_OFFSET 0x02\r
44#define EIR_OFFSET 0x02\r
45#define BSR_OFFSET 0x03\r
46#define LCR_OFFSET 0x03\r
47#define MCR_OFFSET 0x04\r
48#define LSR_OFFSET 0x05\r
49#define MSR_OFFSET 0x06\r
50\r
51//---------------------------------------------\r
52// UART Register Bit Defines\r
53//---------------------------------------------\r
54#define LSR_TXRDY 0x20\r
55#define LSR_RXDA 0x01\r
56#define DLAB 0x01\r
57\r
58//\r
59// Globals for Serial Port settings\r
60//\r
61extern UINT16 gComBase;\r
62extern UINTN gBps;\r
63extern UINT8 gData;\r
64extern UINT8 gStop;\r
65extern UINT8 gParity;\r
66extern UINT8 gBreakSet;\r
67\r
68VOID\r
69DebugSerialPrint (\r
70 IN UINT8 *OutputString\r
71 );\r
72\r
73VOID\r
74DebugSerialWrite (\r
75 IN UINT8 Character\r
76 );\r
77\r
78VOID\r
79InstallSerialStatusCode (\r
80 IN EFI_REPORT_STATUS_CODE *ReportStatusCode\r
81 );\r
82\r
83#endif \r