aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/syscall.c
diff options
context:
space:
mode:
authorMarvin Borner2020-08-22 15:08:57 +0200
committerMarvin Borner2020-08-22 15:08:57 +0200
commitd748a6f54ce7af45afde487936d5a02cb2a91b05 (patch)
tree1ec6b0c8b3576fa15f21a305dfcad5196aac6e01 /kernel/features/syscall.c
parent00a64ff4675b4c1e22d6b4856e1f6b7c04ed96d8 (diff)
Added event resolving
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 e96cb65..157f10c 100644
--- a/kernel/features/syscall.c
+++ b/kernel/features/syscall.c
@@ -76,6 +76,11 @@ void syscall_handler(struct regs *r)
event_unmap(r->ebx, proc_current(), (u32 *)r->ecx);
break;
}
+ case SYS_RESOLVE: {
+ printf("resolve\n");
+ proc_resolve(proc_current());
+ break;
+ }
default: {
printf("unknown\n");
loop();