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

39 lines
1,009 B
ArmAsm

/*
* PROJECT: ReactOS Boot Loader
* LICENSE: BSD - See COPYING.ARM in the top level directory
* FILE: boot/armllb/boot.s
* PURPOSE: Implements the entry point for ARM machines
* PROGRAMMERS: ReactOS Portable Systems Group
*/
.title "ARM LLB Entry Point"
.include "ntoskrnl/include/internal/arm/kxarm.h"
.include "ntoskrnl/include/internal/arm/ksarm.h"
NESTED_ENTRY _start
PROLOG_END _start
#ifdef _OMAP3_
/*
* On OMAP3, the boot is directly from TI BootROM that reads NAND flash.
* First word is size of program to load.
* Second word is load address of program. Since DDR is not initialized,
* we load to SDRAM at 40200000h. Max 64K.
*/
.word 0x8000
.word 0x40200000
#endif
/* Load C entrypoint and setup LLB stack */
ldr lr, L_LlbStartup
ldr sp, L_BootStackEnd
bx lr
ENTRY_END _start
L_BootStackEnd:
.long 0x00010000
L_LlbStartup:
.long LlbStartup
/* EOF */