diff options
author | Marvin Borner | 2020-08-24 12:21:23 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-24 12:21:23 +0200 |
commit | 0a4c8dd2d6048fe9851b8d92a311bba7aaa83a57 (patch) | |
tree | 5e1e235f4ff22b3233f43db768ddd373f6063856 /kernel/features/syscall.c | |
parent | 0e05b395cb8868b77d91d9d614ff5ae09b3b853a (diff) |
Removed async events
Diffstat (limited to 'kernel/features/syscall.c')
-rw-r--r-- | kernel/features/syscall.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/kernel/features/syscall.c b/kernel/features/syscall.c index e876553..fb6adf1 100644 --- a/kernel/features/syscall.c +++ b/kernel/features/syscall.c @@ -79,19 +79,14 @@ void syscall_handler(struct regs *r) r->eax = timer_get(); break; } - case SYS_MAP: { - printf("map\n"); - event_map(r->ebx, proc_current(), (u32 *)r->ecx); + case SYS_REGISTER: { + printf("register\n"); + event_register(r->ebx, proc_current()); break; } - case SYS_UNMAP: { - printf("unmap\n"); - event_unmap(r->ebx, proc_current(), (u32 *)r->ecx); - break; - } - case SYS_RESOLVE: { - printf("resolve\n"); - proc_resolve(proc_current()); + case SYS_UNREGISTER: { + printf("unregister\n"); + event_unregister(r->ebx, proc_current()); break; } case SYS_SEND: { |