1: /*
2: *----------------------------------------------------------------------
3: * T-Kernel 2.0 Software Package
4: *
5: * Copyright 2011 by Ken Sakamura.
6: * This software is distributed under the latest version of T-License 2.x.
7: *----------------------------------------------------------------------
8: *
9: * Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17.
10: * Modified by T-Engine Forum at 2013/03/11.
11: * Modified by TRON Forum(http://www.tron.org/) at 2015/06/01.
12: *
13: *----------------------------------------------------------------------
14: */
15:
16: /*
17: * launch.S
18: *
19: * Start RAM-kernel by BD command of T-Monitor.
20: *
21: * BD command of T-Monitor requires that the kernel start address
22: * resides within the boundaries of ROM address space.
23: * Therefore, we put a simple stub on ROM that simply jumps to
24: * the actual RAM-kernel address.
25: */
26:
27: #include <machine.h>
28: #include <tk/asm.h>
29:
30: .text
31: .balign 4
32: .globl START
33: .type START, %function
34: START:
35: ldr pc, =0x30006000 // RAM-kernel address