ReactOS
0.4.15-dev-8632-gbc8c7d1
hwuart.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/omap3-beagle/hwuart.c
5
* PURPOSE: LLB UART Initialization Routines for OMAP3 Beagle
6
* PROGRAMMERS: ReactOS Portable Systems Group
7
*/
8
9
#include "precomp.h"
10
11
/* FUNCTIONS ******************************************************************/
12
13
VOID
14
NTAPI
15
LlbHwOmap3UartInitialize
(
VOID
)
16
{
17
18
}
19
20
VOID
21
NTAPI
22
LlbHwUartSendChar
(
IN
CHAR
Char)
23
{
24
25
}
26
27
BOOLEAN
28
NTAPI
29
LlbHwUartTxReady
(
VOID
)
30
{
31
return
FALSE
;
32
}
33
34
ULONG
35
NTAPI
36
LlbHwGetUartBase
(
IN
ULONG
Port
)
37
{
38
if
(
Port
== 1)
39
{
40
return
0x4806A000;
41
}
42
else
if
(
Port
== 2)
43
{
44
return
0x4806C000;
45
}
46
else
if
(
Port
== 3)
47
{
48
return
0x49020000;
49
}
50
51
return
0;
52
}
53
54
/* EOF */
BOOLEAN
unsigned char BOOLEAN
Definition:
ProcessorBind.h:185
FALSE
#define FALSE
Definition:
types.h:117
Port
CPPORT Port[4]
Definition:
headless.c:35
void
Definition:
nsiface.idl:2307
LlbHwUartSendChar
VOID NTAPI LlbHwUartSendChar(IN CHAR Char)
Definition:
hwuart.c:22
LlbHwGetUartBase
ULONG NTAPI LlbHwGetUartBase(IN ULONG Port)
Definition:
hwuart.c:36
LlbHwOmap3UartInitialize
VOID NTAPI LlbHwOmap3UartInitialize(VOID)
Definition:
hwuart.c:15
LlbHwUartTxReady
BOOLEAN NTAPI LlbHwUartTxReady(VOID)
Definition:
hwuart.c:29
NTAPI
#define NTAPI
Definition:
typedefs.h:36
IN
#define IN
Definition:
typedefs.h:39
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
CHAR
char CHAR
Definition:
xmlstorage.h:175
boot
armllb
hw
omap3-beagle
hwuart.c
Generated on Mon Sep 9 2024 06:02:29 for ReactOS by
1.9.6