ReactOS
0.4.16-dev-329-g9223134
Functions
main.c File Reference
#include "precomp.h"
Include dependency graph for main.c:
Go to the source code of this file.
Functions
VOID
LlbStartup
(
IN
ULONG
Reserved
,
IN
ULONG
BoardInfo,
IN
PATAG
Arguments)
Function Documentation
◆
LlbStartup()
VOID
LlbStartup
(
IN
ULONG
Reserved
,
IN
ULONG
BoardInfo
,
IN
PATAG
Arguments
)
Definition at line
12
of file
main.c
.
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
}
LlbVideoClearScreen
VOID NTAPI LlbVideoClearScreen(IN BOOLEAN OsLoader)
Definition:
video.c:310
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
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
boot
armllb
main.c
Generated on Sat Dec 7 2024 06:24:21 for ReactOS by
1.9.6