mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +00:00
9393fc320e
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
26 lines
524 B
C
26 lines
524 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 */
|