]> rtime.felk.cvut.cz Git - lincan.git/blob - embedded/arch/arm/mach-lpc21xx/libs/hal/ivt.S
Merge branch 'master' into can-usb1
[lincan.git] / embedded / arch / arm / mach-lpc21xx / libs / hal / ivt.S
1 /* Setup vector table.  Note that undf, pabt, dabt, fiq just execute
2 a null loop. */
3
4 .section .ivt,"ax"
5          .code 32
6          .align 0
7
8          .global hal_vectors
9
10 hal_vectors:    LDR     PC, Reset_Addr         
11                 LDR     PC, Undef_Addr
12                 LDR     PC, SWI_Addr
13                 LDR     PC, PAbt_Addr
14                 LDR     PC, DAbt_Addr
15                 NOP                            /* Reserved Vector */
16                 LDR     PC, IRQ_Addr
17                 LDR     PC, FIQ_Addr
18
19 Reset_Addr:     .word   reset_handler
20 Undef_Addr:     .word   Undef_Handler
21 SWI_Addr:       .word   SWI_Handler
22 PAbt_Addr:      .word   PAbt_Handler
23 DAbt_Addr:      .word   DAbt_Handler
24                 .word   0                      /* Reserved Address */
25 IRQ_Addr:       .word   irq_handler_resolver
26 FIQ_Addr:       .word   FIQ_Handler
27
28 Undef_Handler:  B       Undef_Handler
29 SWI_Handler:    B       SWI_Handler
30 PAbt_Handler:   B       PAbt_Handler
31 DAbt_Handler:   B       DAbt_Handler
32 FIQ_Handler:    B       FIQ_Handler
33
34         .end