blob: 746ac7af4a9049ae6eeebb647d4c9e024260c0b0 [file] [log] [blame]
#ifndef _X86_ISR_H_
#define _X86_ISR_H_
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