From 11490a493511c4f760af74c12cb7da15b2b404a2 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 16 Sep 2020 21:38:19 +0200 Subject: Added *very* basic keymap parsing --- kernel/inc/event.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kernel/inc/event.h') diff --git a/kernel/inc/event.h b/kernel/inc/event.h index 89c3e56..59a0df1 100644 --- a/kernel/inc/event.h +++ b/kernel/inc/event.h @@ -8,12 +8,12 @@ #include struct event_descriptor { - enum message_type id; + u32 id; struct proc *proc; }; -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); +u32 event_register(u32 id, struct proc *proc); +void event_unregister(u32 id, struct proc *proc); +u32 event_trigger(u32 id, void *data); #endif -- cgit v1.2.3