ReactOS  0.4.14-dev-556-g4c5b21f
serial.c
Go to the documentation of this file.
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 
11 VOID
12 NTAPI
14 {
15  /* Properly support new-lines */
16  if (c == '\n') LlbSerialPutChar('\r');
17 
18  /* Wait for ready */
19  while (!LlbHwUartTxReady());
20 
21  /* Send character */
23 }
24 
25 /* EOF */
#define IN
Definition: typedefs.h:38
BOOLEAN NTAPI LlbHwUartTxReady(VOID)
Definition: hwuart.c:29
char CHAR
Definition: xmlstorage.h:175
VOID NTAPI LlbSerialPutChar(IN CHAR c)
Definition: serial.c:13
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
const GLubyte * c
Definition: glext.h:8905
VOID NTAPI LlbHwUartSendChar(IN CHAR Char)
Definition: hwuart.c:22