From 844cd82f89e003a83d763402a6a20abc22252322 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 7 Sep 2021 18:33:56 +0200 Subject: implement fs_create(), front/back fs handles --- src/init/syscalls.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/init/syscalls.c') diff --git a/src/init/syscalls.c b/src/init/syscalls.c index 730a243..4c645c2 100644 --- a/src/init/syscalls.c +++ b/src/init/syscalls.c @@ -36,3 +36,7 @@ int _syscall_write(handle_t handle, user_ptr buf, int len) { int _syscall_close(handle_t handle) { return _syscall(_SYSCALL_CLOSE, handle, 0, 0); } + +handle_t _syscall_fs_create(user_ptr back) { + return _syscall(_SYSCALL_FS_CREATE, (int)back, 0, 0); +} -- cgit v1.2.3