summaryrefslogtreecommitdiff
path: root/Source/Kernel/Core
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-11-15 13:17:58 +0100
committerAlexis211 <alexis211@gmail.com>2009-11-15 13:17:58 +0100
commit21bfca4ad4b84768f05eb4fa2bc0ad7a76b6c536 (patch)
tree7e68b92e80aadec75b5263bd9058c8336d29b77b /Source/Kernel/Core
parente48f1166ae7402f973ea4aab8e53c7612459048c (diff)
downloadMelon-21bfca4ad4b84768f05eb4fa2bc0ad7a76b6c536.tar.gz
Melon-21bfca4ad4b84768f05eb4fa2bc0ad7a76b6c536.zip
Mount points seem to work, mostly owing to dark magic.
Diffstat (limited to 'Source/Kernel/Core')
-rw-r--r--Source/Kernel/Core/kmain.wtf.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Kernel/Core/kmain.wtf.cpp b/Source/Kernel/Core/kmain.wtf.cpp
index 0486702..d0751d1 100644
--- a/Source/Kernel/Core/kmain.wtf.cpp
+++ b/Source/Kernel/Core/kmain.wtf.cpp
@@ -182,11 +182,10 @@ void kmain(multiboot_info_t* mbd, u32int magic) {
//*************************************** MOUNT ROOT FILESYSTEM
- FileSystem* fs = RamFS::mount((u8int*)mods[0].mod_start, 1024 * 1024, NULL);
+ RamFS::mount((u8int*)mods[0].mod_start, 1024 * 1024, NULL);
DirectoryNode* cwd;
- cwd = fs->getRootNode();
+ cwd = VFS::getRootNode();
Task::currProcess()->setCwd(cwd);
- VFS::setRootNode(cwd);
if (keymap != "builtin") {
if (!Kbd::loadKeymap(keymap)) *kvt << "\nWARNING : Could not load keymap " << keymap << ", using built-in keymap instead.";