]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/moe/server/src/ARCH-arm/crt0.S
update
[l4.git] / l4 / pkg / moe / server / src / ARCH-arm / crt0.S
1 /**
2  * \file
3  * \brief       Startup code
4  *
5  * \date        06/03/2003
6  * \author      Frank Mehnert <fm3@os.inf.tu-dresden.de> */
7
8 /*
9  * (c) 2003-2009 Author(s)
10  *     economic rights: Technische Universität Dresden (Germany)
11  *
12  * This file is part of TUD:OS and distributed under the terms of the
13  * GNU General Public License 2.
14  * Please see the COPYING-GPL-2 file for details.
15  */
16
17 #define __ASSEMBLY__
18 #include <l4/sys/compiler.h>
19
20 /*--- .text (program code) -------------------------*/
21         .text
22
23         .globl  _real_start
24 _real_start:
25         ldr     sp, .LCstack
26         b       _start
27
28 .LCstack: .word _stack_top
29
30 /*--- my stack -------------------------------------*/
31         .bss
32         .align 3
33 _stack_bottom:
34         .space 0x4000
35 _stack_top: