ReactOS 0.4.16-dev-197-g92996da
debug.c
Go to the documentation of this file.
1/*
2 * PROJECT: Freeldr ARM32
3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE: Arch specific debug
5 * COPYRIGHT: Copyright 2022 Justin Miller <justinmiller100@gmail.com>
6 */
7
8#include <freeldr.h>
9#include <debug.h>
10
11#define QEMUUART 0x09000000
12volatile unsigned int * UART0DR = (unsigned int *) QEMUUART;
13
16 IN ULONG BaudRate)
17{
18 return TRUE;
19}
20
21VOID
23{
24 *UART0DR = ByteToSend;
25}
26
27VOID
29 ULONG BugCode,
30 PCHAR File,
31 ULONG Line,
33 ...)
34{
35}
unsigned char BOOLEAN
#define QEMUUART
Definition: debug.c:11
BOOLEAN Rs232PortInitialize(IN ULONG ComPort, IN ULONG BaudRate)
Definition: debug.c:15
volatile unsigned int * UART0DR
Definition: debug.c:12
VOID FrLdrBugCheckWithMessage(ULONG BugCode, PCHAR File, ULONG Line, PSTR Format,...)
Definition: debug.c:28
VOID Rs232PortPutByte(UCHAR ByteToSend)
Definition: debug.c:22
Definition: File.h:16
#define TRUE
Definition: types.h:120
Definition: ncftp.h:79
char * PSTR
Definition: typedefs.h:51
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
char * PCHAR
Definition: typedefs.h:51
unsigned char UCHAR
Definition: xmlstorage.h:181