From e05d72ba8f09866b768f3da7776b807072ed7b9b Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Mon, 23 Oct 2023 22:13:19 +0200 Subject: VFS/libc: Create a syscall for mkdir and add the function to libc --- cpu/syscall.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpu') 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 #include #include +#include #include #include @@ -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, -- cgit v1.2.3