ReactOS
0.4.16-dev-814-g656a5dc
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
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
(
IN
ULONG
ComPort,
16
IN
ULONG
BaudRate)
17
{
18
return
TRUE
;
19
}
20
21
VOID
22
Rs232PortPutByte
(
UCHAR
ByteToSend)
23
{
24
*
UART0DR
= ByteToSend;
25
}
26
27
DECLSPEC_NORETURN
28
VOID
29
FrLdrBugCheckWithMessage
(
30
ULONG
BugCode,
31
PCHAR
File
,
32
ULONG
Line
,
33
PSTR
Format
,
34
...)
35
{
36
}
BOOLEAN
unsigned char BOOLEAN
Definition:
ProcessorBind.h:185
QEMUUART
#define QEMUUART
Definition:
debug.c:11
Rs232PortInitialize
BOOLEAN Rs232PortInitialize(IN ULONG ComPort, 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, PSTR Format,...)
Definition:
debug.c:29
Rs232PortPutByte
VOID Rs232PortPutByte(UCHAR ByteToSend)
Definition:
debug.c:22
File
Definition:
File.h:16
TRUE
#define TRUE
Definition:
types.h:120
freeldr.h
void
Definition:
nsiface.idl:2307
DECLSPEC_NORETURN
#define DECLSPEC_NORETURN
Definition:
ntbasedef.h:176
Format
Definition:
imaadp32.c:62
Line
Definition:
ncftp.h:79
PSTR
char * PSTR
Definition:
typedefs.h:51
IN
#define IN
Definition:
typedefs.h:39
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 Thu Mar 13 2025 06:15:28 for ReactOS by
1.9.6