diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-19 18:53:15 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-19 18:53:15 +0100 |
commit | 62e5a35940198f0f8fbabdf31c80455647420c4e (patch) | |
tree | d73846d90d0611125eb99b53e473f8bc76c7fa15 /src/kernel/core | |
parent | 277b329c5609b8172ad0c142117edfa9a08279da (diff) | |
download | kogata-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')
-rw-r--r-- | src/kernel/core/idt.c | 2 | ||||
-rw-r--r-- | src/kernel/core/kmain.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/core/idt.c b/src/kernel/core/idt.c index 0459a21..abab3cc 100644 --- a/src/kernel/core/idt.c +++ b/src/kernel/core/idt.c @@ -4,7 +4,7 @@ #include <string.h> #include <dbglog.h> #include <thread.h> -#include <syscall.h> +#include <sct.h> struct idt_entry { uint16_t base_lo; //Low part of address to jump to 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 |