Changes in kernel/generic/include/interrupt.h [22a28a69:d99c1d2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/interrupt.h
r22a28a69 rd99c1d2 44 44 #include <stacktrace.h> 45 45 46 typedef void (* iroutine _t)(unsigned int, istate_t *);46 typedef void (* iroutine)(int n, istate_t *istate); 47 47 48 typedef struct { 49 const char *name; 50 bool hot; 51 iroutine_t handler; 52 uint64_t cycles; 53 uint64_t count; 54 } exc_table_t; 48 extern void fault_if_from_uspace(istate_t *istate, const char *fmt, ...); 49 extern iroutine exc_register(int n, const char *name, iroutine f); 50 extern void exc_dispatch(int n, istate_t *t); 51 void exc_init(void); 55 52 56 IRQ_SPINLOCK_EXTERN(exctbl_lock); 57 extern exc_table_t exc_table[]; 58 59 extern void fault_if_from_uspace(istate_t *, const char *, ...); 60 extern iroutine_t exc_register(unsigned int, const char *, bool, iroutine_t); 61 extern void exc_dispatch(unsigned int, istate_t *); 62 extern void exc_init(void); 63 64 extern void irq_initialize_arch(irq_t *); 65 66 extern void istate_decode(istate_t *); 53 extern void irq_initialize_arch(irq_t *irq); 67 54 68 55 #endif
Note:
See TracChangeset
for help on using the changeset viewer.