ReactOS
0.4.16-dev-1105-gafe29ee
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
main.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/main.c
5
* PURPOSE: Main LLB Code
6
* PROGRAMMERS: ReactOS Portable Systems Group
7
*/
8
9
#include "precomp.h"
10
11
VOID
12
LlbStartup
(
IN
ULONG
Reserved
,
13
IN
ULONG
BoardInfo,
14
IN
PATAG
Arguments)
15
{
16
/* Make sure we are booting on the correct kind of machine */
17
if
(BoardInfo !=
LlbHwGetBoardType
())
while
(
TRUE
);
18
19
/* Initialize hardware components */
20
LlbHwInitialize
();
21
22
/* Either QEMU or U-Boot itself should send this information */
23
LlbEnvParseArguments
(Arguments);
24
25
/* Clean up the screen */
26
LlbVideoClearScreen
(
FALSE
);
27
28
/* Print header */
29
printf
(
"\nReactOS ARM Low-Level Boot Loader ["
__DATE__
" "
__TIME__
"]\n"
);
30
31
/* Boot the OS Loader */
32
LlbBoot
();
33
while
(
TRUE
);
34
}
35
36
/* EOF */
LlbVideoClearScreen
VOID NTAPI LlbVideoClearScreen(IN BOOLEAN OsLoader)
Definition:
video.c:310
LlbStartup
VOID LlbStartup(IN ULONG Reserved, IN ULONG BoardInfo, IN PATAG Arguments)
Definition:
main.c:12
TRUE
#define TRUE
Definition:
types.h:120
FALSE
#define FALSE
Definition:
types.h:117
LlbEnvParseArguments
VOID NTAPI LlbEnvParseArguments(IN PATAG Arguments)
Definition:
envir.c:22
printf
#define printf
Definition:
freeldr.h:97
void
Definition:
nsiface.idl:2307
LlbHwGetBoardType
ULONG NTAPI LlbHwGetBoardType(VOID)
Definition:
hwinfo.c:13
LlbHwInitialize
VOID NTAPI LlbHwInitialize(VOID)
Definition:
hwinit.c:13
LlbBoot
VOID NTAPI LlbBoot(VOID)
Definition:
loader.c:163
_ATAG
Definition:
envir.h:45
IN
#define IN
Definition:
typedefs.h:39
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
Reserved
_Reserved_ PVOID Reserved
Definition:
winddi.h:3974
boot
armllb
main.c
Generated on Sat May 10 2025 06:15:56 for ReactOS by
1.9.6