// MIT License, Copyright (c) 2020 Marvin Borner #ifndef EVENT_H #define EVENT_H #include #include #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, void *data); #endif