diff options
author | Anton Kling <anton@kling.gg> | 2023-10-23 22:13:19 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-10-23 23:36:34 +0200 |
commit | e05d72ba8f09866b768f3da7776b807072ed7b9b (patch) | |
tree | dc9a1ec45802df7c74ddc9fdd78436b23122e44a /cpu | |
parent | 6458875860cde6421a06031702788d9969e0a5db (diff) |
VFS/libc: Create a syscall for mkdir and add the function to libc
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/syscall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/syscall.c b/cpu/syscall.c index 19c195f..4682c53 100644 --- a/cpu/syscall.c +++ b/cpu/syscall.c @@ -16,6 +16,7 @@ #include <scalls/socket.h> #include <scalls/stat.h> #include <scalls/uptime.h> +#include <scalls/mkdir.h> #include <stdint.h> #include <string.h> @@ -159,6 +160,7 @@ void (*syscall_functions[])() = { (void(*))syscall_socket, (void(*))syscall_shm_open, (void(*))syscall_ftruncate, (void(*))syscall_stat, (void(*))syscall_msleep, (void(*))syscall_uptime, + (void(*))syscall_mkdir, }; void syscall_function_handler(uint32_t eax, uint32_t arg1, uint32_t arg2, |