Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/interrupt.h

    r22a28a69 rd99c1d2  
    4444#include <stacktrace.h>
    4545
    46 typedef void (* iroutine_t)(unsigned int, istate_t *);
     46typedef void (* iroutine)(int n, istate_t *istate);
    4747
    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;
     48extern void fault_if_from_uspace(istate_t *istate, const char *fmt, ...);
     49extern iroutine exc_register(int n, const char *name, iroutine f);
     50extern void exc_dispatch(int n, istate_t *t);
     51void exc_init(void);
    5552
    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 *);
     53extern void irq_initialize_arch(irq_t *irq);
    6754
    6855#endif
Note: See TracChangeset for help on using the changeset viewer.