2 ; Port on Texas Instruments TMS320C6x architecture
4 ; Copyright (C) 2004, 2006, 2009, 2010, 2011 Texas Instruments Incorporated
5 ; Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)
7 ; This program is free software; you can redistribute it and/or modify
8 ; it under the terms of the GNU General Public License version 2 as
9 ; published by the Free Software Foundation.
11 ; This section handles all the interrupt vector routines.
12 ; At RESET the processor sets up the DRAM timing parameters and
13 ; branches to the label _c_int00 which handles initialization for the C code.
18 .macro IRQVEC name, handler
23 #ifdef CONFIG_C6X_BIG_KERNEL
24 STW .D2T1 A0,*B15--[2]
25 || MVKL .S1 \handler,A0
28 LDW .D2T1 *++B15[2],A0
33 #else /* CONFIG_C6X_BIG_KERNEL */
43 #endif /* CONFIG_C6X_BIG_KERNEL */
50 #ifdef CONFIG_C6X_BIG_KERNEL
51 MVKL .S1 _c_int00,A0 ; branch to _c_int00
66 IRQVEC NMI,_nmi_handler ; NMI interrupt
67 IRQVEC AINT,_bad_interrupt ; reserved
68 IRQVEC MSGINT,_bad_interrupt ; reserved
70 IRQVEC INT4,_int4_handler
71 IRQVEC INT5,_int5_handler
72 IRQVEC INT6,_int6_handler
73 IRQVEC INT7,_int7_handler
74 IRQVEC INT8,_int8_handler
75 IRQVEC INT9,_int9_handler
76 IRQVEC INT10,_int10_handler
77 IRQVEC INT11,_int11_handler
78 IRQVEC INT12,_int12_handler
79 IRQVEC INT13,_int13_handler
80 IRQVEC INT14,_int14_handler
81 IRQVEC INT15,_int15_handler