From 2f48f3c88c11c802a1dfc9d803b1d9715cb95b33 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 7 Sep 2021 19:37:38 +0200 Subject: reimplement _syscall_mount --- src/init/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/init') diff --git a/src/init/main.c b/src/init/main.c index deacb15..41f51d3 100644 --- a/src/init/main.c +++ b/src/init/main.c @@ -28,8 +28,10 @@ int main(void) { } void fs_test(void) { - handle_t front, back; + handle_t front, back, file; front = _syscall_fs_create((void*)&back); // TODO change user_ptr to void* + _syscall_mount(front, argify("/mnt")); + file = _syscall_open(argify("/mnt/test")); } void misc_tests(void) { -- cgit v1.2.3