blob: a50929190b6490f2466c0cd86ca1e0c4b06ec9ab [file] [log] [blame]
#ifndef __ISR_TEST__
#define __ISR_TEST__
typedef struct {
ulong regs[sizeof(ulong)*2];
ulong func;
ulong rip;
ulong cs;
ulong rflags;
} isr_regs_t;
void handle_irq(unsigned vec, void (*func)(isr_regs_t *regs));
void handle_external_interrupt(int vector);
#endif