From 00a64ff4675b4c1e22d6b4856e1f6b7c04ed96d8 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 22 Aug 2020 13:20:40 +0200 Subject: Added proc event list --- kernel/inc/event.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kernel/inc/event.h') diff --git a/kernel/inc/event.h b/kernel/inc/event.h index d14fdb0..0a42f97 100644 --- a/kernel/inc/event.h +++ b/kernel/inc/event.h @@ -8,12 +8,13 @@ #include struct event_descriptor { + enum event id; u32 *func; 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, u32 *data); +u32 event_trigger(enum event id, void *data); #endif -- cgit v1.2.3