diff options
author | Marvin Borner | 2019-10-30 16:02:10 +0100 |
---|---|---|
committer | Marvin Borner | 2019-10-30 16:02:10 +0100 |
commit | 118898807865ba11f5d7754f6f0572a0403f8512 (patch) | |
tree | 0b69c881089d659ebb214c409b699cc06323ab3d /src/kernel/interrupts | |
parent | fd4f0a11126a20e75d72f8f2e6d418598fd5f37d (diff) |
Started implementation of initrd based vfs
Diffstat (limited to 'src/kernel/interrupts')
-rw-r--r-- | src/kernel/interrupts/idt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/interrupts/idt.c b/src/kernel/interrupts/idt.c index 26489c4..5f92294 100644 --- a/src/kernel/interrupts/idt.c +++ b/src/kernel/interrupts/idt.c @@ -39,7 +39,7 @@ void idt_install() { idtp.base = &idt; // Clear IDT by setting memory cells to 0 - memory_set(&idt, 0, sizeof(struct idt_entry) * 256); + memset(&idt, 0, sizeof(struct idt_entry) * 256); idt_load(); vga_log("Installed Interrupt Descriptor Table", 6); |