From 8c495b0465dc05632697a60c6689186097cd2dd6 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 26 Nov 2023 18:29:07 -0600 Subject: arch: i386: idt.h: remove extern functions Remove references to extern functions. All the necessary functionality for this file is already contained. Signed-off-by: Danny Holman --- arch/i386/include/kernel/idt.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'arch/i386/include') diff --git a/arch/i386/include/kernel/idt.h b/arch/i386/include/kernel/idt.h index 190e15e..6873a3b 100644 --- a/arch/i386/include/kernel/idt.h +++ b/arch/i386/include/kernel/idt.h @@ -27,9 +27,6 @@ struct idt_ptr { uint32_t base; } __attribute__((packed)); -extern struct idt_entry idt[IDT_MAX_DESCRIPTORS]; -extern struct idt_ptr idtr; - -extern void idt_set_gate(uint8_t num, void(*handler)(void), uint16_t cs, uint8_t flags); +void idt_install(void); #endif -- cgit v1.2.3