mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 19:41:57 +00:00
9ea495ba33
svn path=/branches/header-work/; revision=45691
26 lines
529 B
C
Executable file
26 lines
529 B
C
Executable file
/*
|
|
* PROJECT: ReactOS Boot Loader
|
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
|
* FILE: boot/armllb/hw/serial.c
|
|
* PURPOSE: LLB Serial Port Routines
|
|
* PROGRAMMERS: ReactOS Portable Systems Group
|
|
*/
|
|
|
|
#include "precomp.h"
|
|
|
|
VOID
|
|
NTAPI
|
|
LlbSerialPutChar(IN CHAR c)
|
|
{
|
|
/* Properly support new-lines */
|
|
if (c == '\n') LlbSerialPutChar('\r');
|
|
|
|
/* Wait for ready */
|
|
while (!LlbHwUartTxReady());
|
|
|
|
/* Send character */
|
|
LlbHwUartSendChar(c);
|
|
}
|
|
|
|
/* EOF */
|