aboutsummaryrefslogtreecommitdiff
path: root/i686/idt.h
diff options
context:
space:
mode:
Diffstat (limited to 'i686/idt.h')
-rw-r--r--i686/idt.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/i686/idt.h b/i686/idt.h
index 22dc6de..f96e2b1 100644
--- a/i686/idt.h
+++ b/i686/idt.h
@@ -10,9 +10,13 @@ struct interrupt_frame {
uint32_t ss;
};
+// typedef void (*irq_handler)();
+
+/* isr.c */
void abort_handler(struct interrupt_frame *frame);
-void interrupt_handler(struct interrupt_frame *frame);
-void interrupt_handler_e(struct interrupt_frame *frame, uint32_t error);
void syscall_handler(struct interrupt_frame *frame);
+void irq0x00(struct interrupt_frame *frame); // timer interrupt
+void irq0x01(struct interrupt_frame *frame); // keyboard interrupt
+/* lidt.c */
void idt_install();