ReactOS
0.4.16-dev-2491-g3dc6630
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
12
volatile
unsigned
int
*
UART0DR
= (
unsigned
int
*)
QEMUUART
;
13
14
BOOLEAN
15
Rs232PortInitialize
(
16
_In_
PUCHAR
PortAddress,
17
_In_
ULONG
BaudRate)
18
{
19
return
TRUE
;
20
}
21
22
VOID
23
Rs232PortPutByte
(
UCHAR
ByteToSend)
24
{
25
*
UART0DR
= ByteToSend;
26
}
27
28
DECLSPEC_NORETURN
29
VOID
30
FrLdrBugCheckWithMessage
(
31
ULONG
BugCode,
32
PCHAR
File
,
33
ULONG
Line
,
34
PCSTR
Format
,
35
...)
36
{
37
}
BOOLEAN
unsigned char BOOLEAN
Definition:
actypes.h:127
QEMUUART
#define QEMUUART
Definition:
debug.c:11
Rs232PortInitialize
BOOLEAN Rs232PortInitialize(_In_ PUCHAR PortAddress, _In_ ULONG BaudRate)
Definition:
debug.c:15
UART0DR
volatile unsigned int * UART0DR
Definition:
debug.c:12
FrLdrBugCheckWithMessage
DECLSPEC_NORETURN VOID FrLdrBugCheckWithMessage(ULONG BugCode, PCHAR File, ULONG Line, PCSTR Format,...)
Definition:
debug.c:30
Rs232PortPutByte
VOID Rs232PortPutByte(UCHAR ByteToSend)
Definition:
debug.c:23
File
Definition:
File.h:16
TRUE
#define TRUE
Definition:
types.h:120
DECLSPEC_NORETURN
#define DECLSPEC_NORETURN
Definition:
corecrt.h:131
freeldr.h
void
Definition:
nsiface.idl:2307
_In_
#define _In_
Definition:
no_sal2.h:158
Format
Definition:
imaadp32.c:62
Line
Definition:
ncftp.h:79
PCSTR
const char * PCSTR
Definition:
typedefs.h:52
PUCHAR
unsigned char * PUCHAR
Definition:
typedefs.h:53
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
PCHAR
char * PCHAR
Definition:
typedefs.h:51
UCHAR
unsigned char UCHAR
Definition:
xmlstorage.h:181
boot
freeldr
freeldr
arch
arm
debug.c
Generated on Sun Mar 29 2026 06:16:14 for ReactOS by
1.9.6