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