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");
|
kinfoln("Prepared scheduler tasks");
|
||||||
|
|
||||||
Init::finish_kernel_boot();
|
ASSERT(VFS::mkdir("/", "dev") == 0);
|
||||||
|
|
||||||
VFS::mkdir("/", "dev");
|
|
||||||
VFS::mount("/dev", DeviceFS::get());
|
VFS::mount("/dev", DeviceFS::get());
|
||||||
|
|
||||||
|
Init::finish_kernel_boot();
|
||||||
|
|
||||||
Interrupts::enable(); // Task switching commences here
|
Interrupts::enable(); // Task switching commences here
|
||||||
|
|
||||||
kinfoln("Interrupts enabled");
|
kinfoln("Interrupts enabled");
|
||||||
|
Loading…
Reference in New Issue
Block a user