aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/inc/event.h')
-rw-r--r--kernel/inc/event.h9
1 files changed, 4 insertions, 5 deletions
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 <sys.h>
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