aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-08-16 17:13:32 +0200
committerMarvin Borner2020-08-16 17:13:32 +0200
commit0dd3f5e6f4f7607611ce23510858ab3597b5df9f (patch)
tree19fa08636168489fa097dea675ef38a27d913d4d /kernel/inc
parent36e36fae364dec02999f58edbe997780d901b674 (diff)
Added events and map syscall
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/event.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/inc/event.h b/kernel/inc/event.h
new file mode 100644
index 0000000..f4025b4
--- /dev/null
+++ b/kernel/inc/event.h
@@ -0,0 +1,12 @@
+// MIT License, Copyright (c) 2020 Marvin Borner
+
+#ifndef EVENT_H
+#define EVENT_H
+
+#include <def.h>
+#include <sys.h>
+
+u32 event_map(enum event id, u32 (*function)());
+u32 event_trigger(enum event id, u32 *data);
+
+#endif