performs rom_data_init

This commit is contained in:
Mariano Alvira 2009-04-15 16:14:34 -04:00
parent d76846385a
commit 28242cc8e1

View file

@ -33,8 +33,12 @@
*/ */
.globl _start .set base, .
_start: b main .set _rom_data_init, 0x108d0
.globl _start
_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
@ -42,7 +46,7 @@ _start: b main
ldr pc, _not_used ldr pc, _not_used
ldr pc, _irq ldr pc, _irq
ldr pc, _fiq ldr pc, _fiq
/* these vectors are used for rom patching */ /* these vectors are used for rom patching */
.org 0x20 .org 0x20
_RPTV_0_START: _RPTV_0_START:
@ -64,7 +68,11 @@ _RPTV_3_START:
ROM_var_start: .word 0 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