summaryrefslogtreecommitdiff
path: root/src/user/lib
diff options
context:
space:
mode:
authordzwdz2023-01-06 21:11:44 +0100
committerdzwdz2023-01-06 21:11:44 +0100
commita1a4ab33cd75f0bc1d5e71989b01ba3446c998ae (patch)
tree4796f9ffc780dcb0336ed7c66c0cb42584320d61 /src/user/lib
parente0c7bad47a54d865ef6194643e2cd20f6094e507 (diff)
kernel: basic procfs
Diffstat (limited to 'src/user/lib')
-rw-r--r--src/user/lib/syscall.c4
1 files changed, 4 insertions, 0 deletions
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);
}