mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
25 lines
529 B
C
Executable file
25 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 */
|