Changes in kernel/generic/include/interrupt.h [d99c1d2:22a28a69] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/interrupt.h
rd99c1d2 r22a28a69 44 44 #include <stacktrace.h> 45 45 46 typedef void (* iroutine )(int n, istate_t *istate);46 typedef void (* iroutine_t)(unsigned int, istate_t *); 47 47 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); 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; 52 55 53 extern void irq_initialize_arch(irq_t *irq); 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 *); 54 67 55 68 #endif
Note:
See TracChangeset
for help on using the changeset viewer.