summaryrefslogtreecommitdiff
path: root/arch/i386/include/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/include/kernel')
-rw-r--r--arch/i386/include/kernel/gdt.h2
-rw-r--r--arch/i386/include/kernel/pic.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/i386/include/kernel/gdt.h b/arch/i386/include/kernel/gdt.h
index 532881a..ec02719 100644
--- a/arch/i386/include/kernel/gdt.h
+++ b/arch/i386/include/kernel/gdt.h
@@ -50,6 +50,4 @@ void write_tss(int num, uint32_t ss0, uint32_t esp0);
void set_kernel_esp(uint32_t esp);
void gdt_install(void);
-void flush_gdt(void);
-
#endif
diff --git a/arch/i386/include/kernel/pic.h b/arch/i386/include/kernel/pic.h
index 2b757ee..187d553 100644
--- a/arch/i386/include/kernel/pic.h
+++ b/arch/i386/include/kernel/pic.h
@@ -35,8 +35,8 @@ void pic_remap(void);
uint16_t pic_get_irr(void);
uint16_t pic_get_isr(void);
-void register_irq_handler(uint8_t irq, void (*handler)(struct regs *regs));
-void irq_dispatch(struct regs *regs);
+void register_irq_handler(uint8_t irq, void (*handler)(struct isr_frame *frame));
+void irq_dispatch(struct isr_frame *frame);
void irq_set_mask(uint8_t irq);
void irq_clear_mask(uint8_t irq);