From cdb73836b0eda3e1192b1b8042a94c608a2b74cf Mon Sep 17 00:00:00 2001 From: apio Date: Thu, 13 Oct 2022 21:14:39 +0200 Subject: [PATCH] Some more multiple address space stuff This page-faults. This is because the memory where the ELF should be is all zeroes, which the CPU tries to interpret. --- kernel/src/main.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kernel/src/main.cpp b/kernel/src/main.cpp index b066d9bc..1b43ad37 100644 --- a/kernel/src/main.cpp +++ b/kernel/src/main.cpp @@ -87,10 +87,6 @@ extern "C" void _start() PIC::enable_master(0b11111100); // enable keyboard and PIT PIC::enable_slave(0b11111111); - kinfoln("Prepared PIC"); - - Interrupts::enable(); // Task switching commences here - kinfoln("Interrupts enabled"); PCI::scan([](PCI::Device& dev) {