]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/bootstrap_custom/server/src/ARCH-ppc32/crt0.S
fiasco: bootstrap: copy bootstrap into bootstrap_custom for to port this into Jailhouse.
[l4.git] / l4 / pkg / bootstrap_custom / server / src / ARCH-ppc32 / crt0.S
1 /*
2  * (c) 2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
3  *     economic rights: Technische Universität Dresden (Germany)
4  *
5  * This file is part of TUD:OS and distributed under the terms of the
6  * GNU General Public License 2.
7  * Please see the COPYING-GPL-2 file for details.
8  */
9 /* -*- c -*- */
10
11 .section .text.init, "ax"
12 .type _start, @function
13 .globl _start
14 _start:
15   lis  %r1, crt0_stack_high@ha  /* load stack pointer */
16   addi %r1, %r1, crt0_stack_high@l
17   b    __main
18 1:
19   b 1b
20
21 .section ".bss", "aw"
22
23 .global crt0_stack_low
24 crt0_stack_low:
25   .space 4096
26 .global crt0_stack_high
27 crt0_stack_high: