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