From 72143cff9dbde52d6165742e43b1d20b13bb23e7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 15 Nov 2020 18:28:21 +0100 Subject: Added DNS errors --- kernel/drivers/interrupts.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kernel/drivers') diff --git a/kernel/drivers/interrupts.c b/kernel/drivers/interrupts.c index dd10ac6..29ff55d 100644 --- a/kernel/drivers/interrupts.c +++ b/kernel/drivers/interrupts.c @@ -13,8 +13,8 @@ * IDT */ -struct idt_entry idt[256] = { 0 }; -struct idt_ptr idt_ptr = { 0 }; +static struct idt_entry idt[256] = { 0 }; +static struct idt_ptr idt_ptr = { 0 }; void idt_set_gate(u8 num, u32 base, u16 sel, u8 flags) { @@ -45,7 +45,7 @@ void idt_install() * IRQ */ -void (*irq_routines[16])(struct regs *) = { 0 }; +static void (*irq_routines[16])(struct regs *) = { 0 }; // Install IRQ handler void irq_install_handler(int irq, void (*handler)(struct regs *r)) @@ -120,7 +120,7 @@ void irq_install(void) * ISR */ -void (*isr_routines[256])(struct regs *) = { 0 }; +static void (*isr_routines[256])(struct regs *) = { 0 }; const char *isr_exceptions[32] = { "Division By Zero", "Debug", -- cgit v1.2.3