aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/core/kmain.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-19 18:53:15 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-19 18:53:15 +0100
commit62e5a35940198f0f8fbabdf31c80455647420c4e (patch)
treed73846d90d0611125eb99b53e473f8bc76c7fa15 /src/kernel/core/kmain.c
parent277b329c5609b8172ad0c142117edfa9a08279da (diff)
downloadkogata-62e5a35940198f0f8fbabdf31c80455647420c4e.tar.gz
kogata-62e5a35940198f0f8fbabdf31c80455647420c4e.zip
Several things :
- disambiguate syscall.h : kernel syscall.h moved to sct.h - fix btree_remove_v !! (munmap fucked up stuff before) - make nullfs's directory listing non-exclusive (it actually copies the listing on open() and readdir()'s from that copy)
Diffstat (limited to 'src/kernel/core/kmain.c')
-rw-r--r--src/kernel/core/kmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/core/kmain.c b/src/kernel/core/kmain.c
index 9b9a050..73f7610 100644
--- a/src/kernel/core/kmain.c
+++ b/src/kernel/core/kmain.c
@@ -17,7 +17,7 @@
#include <nullfs.h>
#include <process.h>
#include <elf.h>
-#include <syscall.h>
+#include <sct.h>
#include <slab_alloc.h>
#include <string.h>
@@ -102,7 +102,7 @@ void kmain(multiboot_info_t *mbd, int32_t mb_magic) {
dbg_printf("Kernel malloc setup ok.\n");
TEST_PLACEHOLDER_AFTER_KMALLOC;
- setup_syscalls();
+ setup_syscall_table();
dbg_printf("System calls setup ok.\n");
// enter multi-threading mode