Arm!
This commit is contained in:
parent
c2a95c96d5
commit
6715d5c534
29 changed files with 385 additions and 21 deletions
17
bootloader/arm/start.s
Normal file
17
bootloader/arm/start.s
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue