From 011d99fc5f90b1e2b51f7b96688bdcbbb944e104 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 9 Mar 2015 23:34:46 +0100 Subject: VESA mode setting ; displays kogata logo! --- src/kernel/core/kmain.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/kernel/core/kmain.c') 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; -- cgit v1.2.3