From e472fbf564a8dee7ec4cb03b3e77a213a017bc76 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Mon, 27 May 2024 14:24:19 -0500 Subject: 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 --- arch/i386/include/kernel/gdt.h | 2 -- arch/i386/include/kernel/pic.h | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'arch/i386/include') 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); -- cgit v1.2.3