aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/syscall.c
diff options
context:
space:
mode:
authorMarvin Borner2021-03-12 19:11:26 +0100
committerMarvin Borner2021-03-12 19:11:26 +0100
commitbbf700a0c6b2f8ca9a73c2a334973286d5b8afcc (patch)
treec6d95e742da7b0ca0c95e5377840e888a579030f /kernel/features/syscall.c
parent0aef683b9d1e08555791426ba12223ed78051353 (diff)
Started basic ioctl fb interface
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 b3e69e0..bac1738 100644
--- a/kernel/features/syscall.c
+++ b/kernel/features/syscall.c
@@ -52,6 +52,11 @@ static void syscall_handler(struct regs *r)
r->eax = (u32)vfs_write((char *)r->ebx, (void *)r->ecx, r->edx, r->esi);
break;
}
+ case SYS_IOCTL: {
+ r->eax = (u32)vfs_ioctl((char *)r->ebx, r->ecx, (void *)r->edx, (void *)r->esi,
+ (void *)r->edi);
+ break;
+ }
case SYS_POLL: {
s32 ret = vfs_poll((const char **)r->ebx);
if (ret == PROC_MAX_WAIT_IDS + 1)