aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/syscall.h
diff options
context:
space:
mode:
authorMarvin Borner2020-04-29 00:39:24 +0200
committerMarvin Borner2020-04-29 00:39:24 +0200
commit50858d043cbd6f61cc091c6772f981ca2d6cca6b (patch)
tree82afcc2daf9c4b67d29832923283654913490d06 /src/kernel/syscall/syscall.h
parent34c752f6fe4f71169172f1b3e46b1eddf69eba6e (diff)
Added basic exec calls for init and started libc
Diffstat (limited to 'src/kernel/syscall/syscall.h')
-rw-r--r--src/kernel/syscall/syscall.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/syscall/syscall.h b/src/kernel/syscall/syscall.h
index b2bdc6d..5c21d58 100644
--- a/src/kernel/syscall/syscall.h
+++ b/src/kernel/syscall/syscall.h
@@ -7,6 +7,8 @@ extern void idt_syscall();
void syscalls_install();
+uint32_t sys_exec(char *path);
+
uint32_t sys_putch(char ch);
uint32_t sys_getch();
@@ -15,4 +17,4 @@ uint32_t sys_malloc(uint32_t count);
uint32_t sys_free(uint32_t ptr);
-#endif \ No newline at end of file
+#endif