diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-09 23:34:46 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-09 23:34:46 +0100 |
commit | 011d99fc5f90b1e2b51f7b96688bdcbbb944e104 (patch) | |
tree | 20a2a03ef168a09185b77fbea04adfeefc1d99bf /src/kernel/core | |
parent | e499d74b6f0b57f9a11486c346dbc335e4f8433d (diff) | |
download | kogata-011d99fc5f90b1e2b51f7b96688bdcbbb944e104.tar.gz kogata-011d99fc5f90b1e2b51f7b96688bdcbbb944e104.zip |
VESA mode setting ; displays kogata logo!
Diffstat (limited to 'src/kernel/core')
-rw-r--r-- | src/kernel/core/kmain.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kernel/core/kmain.c b/src/kernel/core/kmain.c index d23df1a..96c3cc1 100644 --- a/src/kernel/core/kmain.c +++ b/src/kernel/core/kmain.c @@ -222,7 +222,10 @@ fs_t *setup_iofs(multiboot_info_t *mbd) { } // Populate iofs with files for kernel modules - ASSERT(fs_create(iofs, "/mod", FT_DIR)); + const char *dirs[] = { "/mod", "/disk", "/input", "/display", 0 }; + for (int i = 0; dirs[i] != 0; i++) { + ASSERT(fs_create(iofs, dirs[i], FT_DIR)); + } multiboot_module_t *mods = (multiboot_module_t*)mbd->mods_addr; for (unsigned i = 0; i < mbd->mods_count; i++) { char* modname = (char*)mods[i].string; |