+++ /dev/null
-/*++\r
-\r
-Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
-\r
-Module Name:\r
- \r
- BsSerialStatusCode.h\r
- \r
-Abstract:\r
-\r
- Lib to provide Serial I/O status code routines. This uses the PEI library\r
- print functions.\r
-\r
---*/\r
-\r
-#ifndef _EFI_BS_SERIAL_STATUS_CODE_H_\r
-#define _EFI_BS_SERIAL_STATUS_CODE_H_\r
-\r
-//\r
-// Statements that include other files\r
-//\r
-#include "Tiano.h"\r
-#include "Pei.h"\r
-#include "PeiLib.h"\r
-#include "EfiRuntimeLib.h"\r
-#include "BsSerialStatusCodeLib.h"\r
-\r
-//\r
-// GUID consumed\r
-//\r
-#include EFI_GUID_DEFINITION (StatusCodeDataTypeId)\r
-\r
-//\r
-// ---------------------------------------------\r
-// UART Register Offsets\r
-// ---------------------------------------------\r
-//\r
-#define BAUD_LOW_OFFSET 0x00\r
-#define BAUD_HIGH_OFFSET 0x01\r
-#define IER_OFFSET 0x01\r
-#define LCR_SHADOW_OFFSET 0x01\r
-#define FCR_SHADOW_OFFSET 0x02\r
-#define IR_CONTROL_OFFSET 0x02\r
-#define FCR_OFFSET 0x02\r
-#define EIR_OFFSET 0x02\r
-#define BSR_OFFSET 0x03\r
-#define LCR_OFFSET 0x03\r
-#define MCR_OFFSET 0x04\r
-#define LSR_OFFSET 0x05\r
-#define MSR_OFFSET 0x06\r
-\r
-//\r
-// ---------------------------------------------\r
-// UART Register Bit Defines\r
-// ---------------------------------------------\r
-//\r
-#define LSR_TXRDY 0x20\r
-#define LSR_RXDA 0x01\r
-#define DLAB 0x01\r
-\r
-//\r
-// Globals for Serial Port settings\r
-//\r
-extern UINT16 gComBase;\r
-extern UINTN gBps;\r
-extern UINT8 gData;\r
-extern UINT8 gStop;\r
-extern UINT8 gParity;\r
-extern UINT8 gBreakSet;\r
-\r
-VOID\r
-DebugSerialPrint (\r
- IN UINT8 *OutputString\r
- );\r
-\r
-VOID\r
-DebugSerialWrite (\r
- IN UINT8 Character\r
- );\r
-\r
-#endif\r