mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-20 03:44:18 +08:00
18 lines
303 B
ArmAsm
18 lines
303 B
ArmAsm
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 kstart @ Jump to the main function
|
|
1:
|
|
b 1b @ Halt
|