prepare for interrupt support in the next few days
[my-code/arm.git] / betty / interrupts.c
1 /*
2  * interrupts.c - arm exception handling
3  *
4  * author: hackbard@hackdaworld.org
5  *
6  */
7
8 #include "interrupts.h"
9
10 /*
11  * functions
12  */
13
14 void interrupt_set_default_callback(t_interrupt *ir,void *callback) {
15
16         ir->default_callback=callback;
17 }
18
19
20
21 /*
22  * the actual exception handlers (as defined in startup.s)
23  */
24
25 // reset
26 void interrupt_handler_reset(void) {
27 }
28
29 // undefined instruction
30 void interrupt_handler_undef_instruction(void) {
31 }
32
33 // software interrupt
34 void interrupt_handler_soft_ir(void) {
35 }
36
37 // prefetch abort
38 void interrupt_handler_prefetch_abort(void) {
39 }
40
41 // data abort
42 void interrupt_handler_data_abort(void) {
43 }
44
45 // fiq
46 void interrupt_handler_fiq(void) {
47 }
48