aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/core')
-rw-r--r--src/kernel/core/idt.c2
-rw-r--r--src/kernel/core/kmain.c4
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