From 0a4c8dd2d6048fe9851b8d92a311bba7aaa83a57 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 24 Aug 2020 12:21:23 +0200 Subject: Removed async events --- kernel/inc/event.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'kernel/inc/event.h') diff --git a/kernel/inc/event.h b/kernel/inc/event.h index 0a42f97..89c3e56 100644 --- a/kernel/inc/event.h +++ b/kernel/inc/event.h @@ -8,13 +8,12 @@ #include struct event_descriptor { - enum event id; - u32 *func; + enum message_type id; struct proc *proc; }; -u32 event_map(enum event id, struct proc *proc, u32 *func); -void event_unmap(enum event id, struct proc *proc, u32 *func); -u32 event_trigger(enum event id, void *data); +u32 event_register(enum message_type id, struct proc *proc); +void event_unregister(enum message_type id, struct proc *proc); +u32 event_trigger(enum message_type id, void *data); #endif -- cgit v1.2.3