reactos/boot/armllb/main.c
Amine Khaldi c424146e2c Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
2010-07-24 18:52:44 +00:00

36 lines
904 B
C
Executable file

/*
* PROJECT: ReactOS Boot Loader
* LICENSE: BSD - See COPYING.ARM in the top level directory
* FILE: boot/armllb/main.c
* PURPOSE: Main LLB Code
* PROGRAMMERS: ReactOS Portable Systems Group
*/
#include "precomp.h"
VOID
LlbStartup(IN ULONG Reserved,
IN ULONG BoardInfo,
IN PATAG Arguments)
{
/* Make sure we are booting on the correct kind of machine */
if (BoardInfo != LlbHwGetBoardType()) while (TRUE);
/* Either QEMU or U-Boot itself should send this information */
LlbEnvParseArguments(Arguments);
/* Initialize hardware components */
LlbHwInitialize();
/* Clean up the screen */
LlbVideoClearScreen(FALSE);
/* Print header */
printf("ReactOS ARM Low-Level Boot Loader [" __DATE__ " "__TIME__ "]\n");
/* Boot the OS Loader */
LlbBoot();
while (TRUE);
}
/* EOF */