aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/syscall.c
diff options
context:
space:
mode:
authorMarvin Borner2021-04-25 13:43:14 +0200
committerMarvin Borner2021-04-25 13:43:14 +0200
commitf2b4acb2fe6a366288b19843e0d2678b8590bdf4 (patch)
tree1eb869f237908ec0b2516c00f940c6562c5cc5bd /kernel/features/syscall.c
parentcd46cefdd74b9ad0b225706f4d4b5864e87d97d6 (diff)
Chu chuu, using the bus for everything now!
Well, I know: bus != train. But I like trains. So I don't care. Go away!
Diffstat (limited to 'kernel/features/syscall.c')
-rw-r--r--kernel/features/syscall.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/features/syscall.c b/kernel/features/syscall.c
index 94ea778..23c8d37 100644
--- a/kernel/features/syscall.c
+++ b/kernel/features/syscall.c
@@ -132,6 +132,11 @@ static void syscall_handler(struct regs *r)
break;
}
+ case SYS_MIN:
+ case SYS_MAX:
+ r->eax = -EINVAL;
+ break;
+
// TODO: Reimplement network functions using VFS
default: {
r->eax = -EINVAL;