Reactos
1/*
2 * PROJECT: ReactOS Boot Loader
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: boot/armllb/hw/serial.c
5 * PURPOSE: LLB Serial Port Routines
6 * PROGRAMMERS: ReactOS Portable Systems Group
7 */
8
9#include "precomp.h"
10
11VOID
12NTAPI
13LlbSerialPutChar(IN CHAR c)
14{
15 /* Properly support new-lines */
16 if (c == '\n') LlbSerialPutChar('\r');
17
18 /* Wait for ready */
19 while (!LlbHwUartTxReady());
20
21 /* Send character */
22 LlbHwUartSendChar(c);
23}
24
25/* EOF */