Kernel: Mounting /dev MUST succeed
This commit is contained in:
parent
04da26bff5
commit
0c451e504e
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user