summaryrefslogtreecommitdiff
path: root/kernel/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/syscall.c')
-rw-r--r--kernel/syscall.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/kernel/syscall.c b/kernel/syscall.c
index 8392eb4..172c5ea 100644
--- a/kernel/syscall.c
+++ b/kernel/syscall.c
@@ -113,6 +113,13 @@ extern uint64 sys_pgaccess(void);
extern uint64 sys_sigalarm(void);
extern uint64 sys_sigreturn(void);
+#ifdef LAB_NET
+extern uint64 sys_connect(void);
+#endif
+#ifdef LAB_PGTBL
+extern uint64 sys_pgaccess(void);
+#endif
+
// An array mapping syscall numbers from syscall.h
// to the function that handles the system call.
static uint64 (*syscalls[])(void) = {
@@ -185,7 +192,6 @@ static char *syscall_names[] = {
};
-
void
syscall(void)
{