mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
25 lines
529 B
C
25 lines
529 B
C
/*
|
|
* 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 */
|