3 Copyright (C) Dean Camera, 2011.
5 dean [at] fourwalledcubicle [dot] com
10 Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
12 Permission to use, copy, modify, distribute, and sell this
13 software and its documentation for any purpose is hereby granted
14 without fee, provided that the above copyright notice appear in
15 all copies and that both that the copyright notice and this
16 permission notice and warranty disclaimer appear in supporting
17 documentation, and that the name of the author not be used in
18 advertising or publicity pertaining to distribution of the
19 software without specific, written prior permission.
21 The author disclaim all warranties with regard to this
22 software, including all implied warranties of merchantability
23 and fitness. In no event shall the author be liable for any
24 special, indirect or consequential damages or any damages
25 whatsoever resulting from loss of use, data or profits, whether
26 in an action of contract, negligence or other tortious action,
27 arising out of or in connection with the use or performance of
33 .section .exception_handlers, "ax", @progbits
35 // ================= EXCEPTION TABLE ================
41 Exception_Unrecoverable_Exception:
44 Exception_TLB_Multiple_Hit:
47 Exception_Bus_Error_Data_Fetch:
50 Exception_Bus_Error_Instruction_Fetch:
56 Exception_Instruction_Address:
59 Exception_ITLB_Protection:
62 Exception_OCD_Breakpoint:
65 Exception_Illegal_Opcode:
68 Exception_Unimplemented_Instruction:
71 Exception_Privilege_Violation:
74 Exception_Floating_Point:
77 Exception_Coprocessor_Absent:
80 Exception_Data_Address_Read:
83 Exception_Data_Address_Write:
86 Exception_DTLB_Protection_Read:
89 Exception_DTLB_Protection_Write:
92 Exception_DTLB_Modified:
98 Exception_DTLB_Miss_Read:
101 Exception_DTLB_Miss_Write:
104 Exception_Supervisor_Call:
106 // ============== END OF EXCEPTION TABLE =============
108 // ============= GENERAL INTERRUPT HANDLER ===========
110 .irp Level, 0, 1, 2, 3
113 call INTC_GetInterruptHandler
116 // ========= END OF GENERAL INTERRUPT HANDLER ========
118 // ====== GENERAL INTERRUPT HANDLER OFFSET TABLE ======
120 .global Autovector_Table
122 .irp Level, 0, 1, 2, 3
123 .word ((AVR32_INTC_INT0 + \Level) << AVR32_INTC_IPR_INTLEVEL_OFFSET) | (Exception_INT\Level - EVBA_Table)
125 // === END OF GENERAL INTERRUPT HANDLER OFFSET TABLE ===