aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/interrupts
diff options
context:
space:
mode:
authorMarvin Borner2020-01-04 23:30:28 +0100
committerMarvin Borner2020-01-04 23:30:28 +0100
commit527d8bfeffa41086ad4e0c257b27e8c916fd514c (patch)
treed5d94bc43c8d8bd091ec5b3296b13e4c640290ce /src/kernel/interrupts
parente015aeacf14c1ec50ca14dda01c760dc16b26506 (diff)
Removed hardcoded line numbers
Wasn't that hard after all, eh?
Diffstat (limited to 'src/kernel/interrupts')
-rw-r--r--src/kernel/interrupts/idt.c2
-rw-r--r--src/kernel/interrupts/irq.c2
-rw-r--r--src/kernel/interrupts/isr.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/interrupts/idt.c b/src/kernel/interrupts/idt.c
index de17c72..25a9504 100644
--- a/src/kernel/interrupts/idt.c
+++ b/src/kernel/interrupts/idt.c
@@ -44,5 +44,5 @@ void idt_install()
memset(&idt, 0, sizeof(struct idt_entry) * 256);
idt_load();
- vga_log("Installed Interrupt Descriptor Table", 5);
+ vga_log("Installed Interrupt Descriptor Table");
} \ No newline at end of file
diff --git a/src/kernel/interrupts/irq.c b/src/kernel/interrupts/irq.c
index 2fae9de..dd8ce90 100644
--- a/src/kernel/interrupts/irq.c
+++ b/src/kernel/interrupts/irq.c
@@ -92,7 +92,7 @@ void irq_install()
idt_set_gate(45, (unsigned) irq13, 0x08, 0x8E);
idt_set_gate(46, (unsigned) irq14, 0x08, 0x8E);
idt_set_gate(47, (unsigned) irq15, 0x08, 0x8E);
- vga_log("Installed Interrupt Requests", 7);
+ vga_log("Installed Interrupt Requests");
}
// Handle IRQ ISRs
diff --git a/src/kernel/interrupts/isr.c b/src/kernel/interrupts/isr.c
index f774b86..eb932b2 100644
--- a/src/kernel/interrupts/isr.c
+++ b/src/kernel/interrupts/isr.c
@@ -45,7 +45,7 @@ void isrs_install()
idt_set_gate(0x80, (unsigned) isr128, 0x08, 0xEE);
- vga_log("Installed Interrupt Service Routines", 6);
+ vga_log("Installed Interrupt Service Routines");
}
irq_handler_t isr_routines[256] = {0};