ReactOS 0.4.16-dev-297-gc569aee
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-zoom2/hwuart.c
5 * PURPOSE: LLB UART Initialization Routines for OMAP3 ZOOM2
6 * PROGRAMMERS: ReactOS Portable Systems Group
7 */
8
9#include "precomp.h"
10#define SERIAL_REGISTER_STRIDE 2
11#include "lib/cportlib/cport.c"
12
13/* GLOBALS ********************************************************************/
14
15#define SERIAL_TL16CP754C_QUAD0_BASE (PVOID)0x10000000
16
18{
19 {NULL, 0, 0},
20 {NULL, 0, 0},
21 {NULL, 0, 0},
22 {NULL, 0, 0}
23};
24
25/* FUNCTIONS ******************************************************************/
26
27VOID
30{
32}
33
34VOID
37{
38 /* Send the character */
40}
41
45{
46 /* TX output buffer is ready? */
47 return TRUE;
48}
49
53{
54 if (Port == 0)
55 {
56 return 0x10000000;
57 }
58
59 return 0;
60}
61
62/* EOF */
unsigned char BOOLEAN
VOID NTAPI CpPutByte(IN PCPPORT Port, IN UCHAR Byte)
Definition: cport.c:303
NTSTATUS NTAPI CpInitialize(IN PCPPORT Port, IN PUCHAR Address, IN ULONG BaudRate)
Definition: cport.c:85
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
CPPORT Port[4]
Definition: headless.c:35
VOID NTAPI LlbHwUartSendChar(IN CHAR Char)
Definition: hwuart.c:22
ULONG NTAPI LlbHwGetUartBase(IN ULONG Port)
Definition: hwuart.c:36
VOID NTAPI LlbHwOmap3UartInitialize(VOID)
Definition: hwuart.c:15
BOOLEAN NTAPI LlbHwUartTxReady(VOID)
Definition: hwuart.c:29
CPPORT LlbHwOmap3UartPorts[4]
Definition: hwuart.c:17
#define SERIAL_TL16CP754C_QUAD0_BASE
Definition: hwuart.c:15
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
char CHAR
Definition: xmlstorage.h:175