ReactOS
0.4.16-dev-59-gd481587
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
13
LlbSerialPutChar
(
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 */
LlbSerialPutChar
VOID NTAPI LlbSerialPutChar(IN CHAR c)
Definition:
serial.c:13
c
const GLubyte * c
Definition:
glext.h:8905
void
Definition:
nsiface.idl:2307
LlbHwUartSendChar
VOID NTAPI LlbHwUartSendChar(IN CHAR Char)
Definition:
hwuart.c:22
LlbHwUartTxReady
BOOLEAN NTAPI LlbHwUartTxReady(VOID)
Definition:
hwuart.c:29
NTAPI
#define NTAPI
Definition:
typedefs.h:36
IN
#define IN
Definition:
typedefs.h:39
CHAR
char CHAR
Definition:
xmlstorage.h:175
boot
armllb
hw
serial.c
Generated on Thu Sep 19 2024 06:06:15 for ReactOS by
1.9.6