From a1a4ab33cd75f0bc1d5e71989b01ba3446c998ae Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 6 Jan 2023 21:11:44 +0100 Subject: kernel: basic procfs --- src/user/lib/syscall.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/user/lib') diff --git a/src/user/lib/syscall.c b/src/user/lib/syscall.c index 50c71a8..09b8e49 100644 --- a/src/user/lib/syscall.c +++ b/src/user/lib/syscall.c @@ -70,6 +70,10 @@ void _syscall_sleep(long ms) { return (void)_syscall(_SYSCALL_SLEEP, ms, 0, 0, 0, 0); } +handle_t _syscall_procfs(void) { + return (handle_t)_syscall(_SYSCALL_PROCFS, 0, 0, 0, 0, 0); +} + long _syscall_execbuf(void __user *buf, size_t len) { return _syscall(_SYSCALL_EXECBUF, (long)buf, (long)len, 0, 0, 0); } -- cgit v1.2.3