diff --git a/kernel/src/main.cpp b/kernel/src/main.cpp index 0136e6a7..967a35e3 100644 --- a/kernel/src/main.cpp +++ b/kernel/src/main.cpp @@ -82,11 +82,11 @@ extern "C" void _start() kinfoln("Prepared scheduler tasks"); - Init::finish_kernel_boot(); - - VFS::mkdir("/", "dev"); + ASSERT(VFS::mkdir("/", "dev") == 0); VFS::mount("/dev", DeviceFS::get()); + Init::finish_kernel_boot(); + Interrupts::enable(); // Task switching commences here kinfoln("Interrupts enabled");