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/* Mind the argc that is popped off the stack! */
29.LCstack: .word _stack_top-8
30
31/*--- my stack -------------------------------------*/
32	.bss
33	.align 3
34_stack_bottom:
35	.space 0x4000
36_stack_top:
37