diff options
author | Marvin Borner | 2020-11-05 17:30:39 +0100 |
---|---|---|
committer | Marvin Borner | 2020-11-05 17:32:53 +0100 |
commit | 63e86f792167e6cc2e9600d00b184a3c83fe7498 (patch) | |
tree | 31e2d583be3ebf34782f6ec37f6c524657c40686 /kernel/drivers/interrupts.c | |
parent | 916fca2161e76de67a5106b90baf00a57f2a0512 (diff) |
Added warning flags and fixed them :)
Diffstat (limited to 'kernel/drivers/interrupts.c')
-rw-r--r-- | kernel/drivers/interrupts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/drivers/interrupts.c b/kernel/drivers/interrupts.c index 57b0ab5..b0751d6 100644 --- a/kernel/drivers/interrupts.c +++ b/kernel/drivers/interrupts.c @@ -90,7 +90,7 @@ void irq_handler(struct regs *r) } // Map ISRs to the correct entries in the IDT -void irq_install() +void irq_install(void) { irq_remap(); @@ -182,7 +182,7 @@ void isr_handler(struct regs *r) } } -void isr_install() +void isr_install(void) { idt_set_gate(0, (u32)isr0, 0x08, 0x8E); idt_set_gate(1, (u32)isr1, 0x08, 0x8E); @@ -224,7 +224,7 @@ void isr_install() /** * Combined */ -void interrupts_install() +void interrupts_install(void) { idt_install(); isr_install(); |