summaryrefslogtreecommitdiff
path: root/arch/i386/include/kernel
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-05-27 14:24:19 -0500
committerDanny Holman <dholman@gymli.org>2024-05-27 14:24:19 -0500
commite472fbf564a8dee7ec4cb03b3e77a213a017bc76 (patch)
tree02cdbf5930774478ec32b64759dca7df4d8ee3cc /arch/i386/include/kernel
parentd5e63951bdf8c154bafee11c84816539fde77b81 (diff)
arch: i386: update all files to use the new libk
Update all the files under arch to make use of the new libk implementation. Most of these changes are simply path changes in include directives. Signed-off-by: Danny Holman <dholman@gymli.org>
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);