1
0
Fork 0
aedrix-kernel/boot/start.S

18 lines
301 B
ArmAsm
Raw Normal View History

2012-09-03 23:44:36 -04:00
interrupt_vector_table:
b . @ Reset
b .
b . @ SWI instruction
b .
b .
b .
b .
b .
.comm stack, 0x10000 @ Reserve 64k stack in the BSS
_start:
.globl _start
ldr sp, =stack+0x10000 @ Set up the stack
bl main @ Jump to the main function
1:
b 1b @ Halt