summaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2023-11-26 18:29:07 -0600
committerDanny Holman <dholman@gymli.org>2023-11-26 18:29:07 -0600
commit8c495b0465dc05632697a60c6689186097cd2dd6 (patch)
tree8cd26902c253aef730ad7ed94900578e8be910d5 /arch/i386
parent00c05974661bd1b55b75cfc7a829ac9f7b14b989 (diff)
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 <dholman@gymli.org>
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/include/kernel/idt.h5
1 files changed, 1 insertions, 4 deletions
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