]> rtime.felk.cvut.cz Git - l4.git/blob - kernel/fiasco/src/kern/arm/crt0.S
update
[l4.git] / kernel / fiasco / src / kern / arm / crt0.S
1 /* -*- c -*- */
2
3 #include "asm.h"
4 .section .text.init,#alloc,#execinstr
5 .type start,#function
6 ENTRY(_start_kernel)
7 ENTRY(start)
8      
9      ldr sp, __init_data;
10      bl __main
11
12      /* never returns */
13
14
15 .type __init_data, %object
16 __init_data:
17 .long SYMBOL_NAME(_stack-4)
18
19
20
21 .section ".init.data"
22 .globl _sstack
23 _sstack:
24         .space  2048
25 .globl _stack
26 .type _stack,#object
27 _stack: