1# 2# 3#/* Define the Cortex-A5 vector area. This should be located or copied to 0. */ 4# 5 6 .section ".reset", .text 7 .globl __vectors 8__vectors: 9 B __entry # Reset goes to the entry function 10 LDR pc,UNDEFINED # Undefined handler 11 LDR pc,SWI # Software interrupt handler 12 LDR pc,PREFETCH # Prefetch exception handler 13 LDR pc,ABORT # Abort exception handler 14 LDR pc,RESERVED # Reserved exception handler 15 LDR pc,IRQ # IRQ interrupt handler 16 LDR pc,FIQ # FIQ interrupt handler 17# 18# 19__entry: 20 LDR sp,STACK # Setup stack pointer 21 LDR pc,START # Jump to Green Hills startup 22# 23# 24STACK: 25 .data.w __ghsend_stack 26START: 27 .data.w _start # Reset goes to startup function 28UNDEFINED: 29 .data.w __tx_undefined # Undefined handler 30SWI: 31 .data.w __tx_swi_interrupt # Software interrupt handler 32PREFETCH: 33 .data.w __tx_prefetch_handler # Prefetch exception handler 34ABORT: 35 .data.w __tx_abort_handler # Abort exception handler 36RESERVED: 37 .data.w __tx_reserved_handler # Reserved exception handler 38IRQ: 39 .data.w __tx_irq_handler # IRQ interrupt handler 40FIQ: 41 .data.w __tx_fiq_handler # FIQ interrupt handler 42# 43# 44 .type __vectors,$function 45 .size __vectors,.-__vectors 46