performs rom_data_init
This commit is contained in:
parent
d76846385a
commit
28242cc8e1
13
src/start.S
13
src/start.S
|
@ -33,8 +33,12 @@
|
|||
*/
|
||||
|
||||
|
||||
.globl _start
|
||||
_start: b main
|
||||
.set base, .
|
||||
.set _rom_data_init, 0x108d0
|
||||
|
||||
|
||||
.globl _start
|
||||
_start: b _begin
|
||||
ldr pc, _undefined_instruction
|
||||
ldr pc, _software_interrupt
|
||||
ldr pc, _prefetch_abort
|
||||
|
@ -65,6 +69,10 @@ ROM_var_start: .word 0
|
|||
.org 0x7ff
|
||||
ROM_var_end: .word 0
|
||||
|
||||
.align
|
||||
_begin:
|
||||
bl _rom_data_init+.-base
|
||||
b main
|
||||
|
||||
_undefined_instruction: .word undefined_instruction
|
||||
_software_interrupt: .word software_interrupt
|
||||
|
@ -73,7 +81,6 @@ _data_abort: .word data_abort
|
|||
_not_used: .word not_used
|
||||
_irq: .word irq
|
||||
_fiq: .word fiq
|
||||
|
||||
.balignl 16,0xdeadbeef
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue