2 * interrupts.c - arm exception handling
4 * author: hackbard@hackdaworld.org
8 #include "interrupts.h"
14 void interrupt_set_default_callback(t_interrupt *ir,void *callback) {
16 ir->default_callback=callback;
22 * the actual exception handlers (as defined in startup.s)
26 void interrupt_handler_reset(void) {
29 // undefined instruction
30 void interrupt_handler_undef_instruction(void) {
34 void interrupt_handler_soft_ir(void) {
38 void interrupt_handler_prefetch_abort(void) {
42 void interrupt_handler_data_abort(void) {
46 void interrupt_handler_fiq(void) {