3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 #ifndef _DXELDR_SERIAL_STATUS_CODE_H_
22 #define _DXELDR_SERIAL_STATUS_CODE_H_
25 // Statements that include other files
34 //---------------------------------------------
35 // UART Register Offsets
36 //---------------------------------------------
37 #define BAUD_LOW_OFFSET 0x00
38 #define BAUD_HIGH_OFFSET 0x01
39 #define IER_OFFSET 0x01
40 #define LCR_SHADOW_OFFSET 0x01
41 #define FCR_SHADOW_OFFSET 0x02
42 #define IR_CONTROL_OFFSET 0x02
43 #define FCR_OFFSET 0x02
44 #define EIR_OFFSET 0x02
45 #define BSR_OFFSET 0x03
46 #define LCR_OFFSET 0x03
47 #define MCR_OFFSET 0x04
48 #define LSR_OFFSET 0x05
49 #define MSR_OFFSET 0x06
51 //---------------------------------------------
52 // UART Register Bit Defines
53 //---------------------------------------------
54 #define LSR_TXRDY 0x20
59 // Globals for Serial Port settings
61 extern UINT16 gComBase
;
66 extern UINT8 gBreakSet
;
70 IN UINT8
*OutputString
79 InstallSerialStatusCode (
80 IN EFI_REPORT_STATUS_CODE
*ReportStatusCode