1 #ifndef __SYS_INTERRUPT_H__QIHZ66NP8K__
2 #define __SYS_INTERRUPT_H__QIHZ66NP8K__
6 typedef int (*SystemInterruptFunc)();
8 typedef struct _SystemInterruptHandler SystemInterruptHandler;
9 struct _SystemInterruptHandler
11 SystemInterruptHandler *
next;
12 SystemInterruptFunc handler;
17 sys_interrupt_enable();
20 sys_interrupt_disable();
23 sys_interrupt_append_handler(SystemInterruptHandler *handler);
26 sys_interrupt_prepend_handler(SystemInterruptHandler *handler);
29 sys_interrupt_remove_handler(SystemInterruptHandler *handler);