aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/events/event.h
diff options
context:
space:
mode:
authorMarvin Borner2020-05-06 22:34:38 +0200
committerMarvin Borner2020-05-06 22:34:38 +0200
commit8083536f321ad8a12ad4668c2bf41a65c3e3b2f6 (patch)
tree427d7da11944b299bdce3041259bf8fd31971ede /src/kernel/events/event.h
parentd94ffac4a584dc7a4f6f2ec567b8caab05ce9253 (diff)
Added event mapping driver
Diffstat (limited to 'src/kernel/events/event.h')
-rw-r--r--src/kernel/events/event.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/kernel/events/event.h b/src/kernel/events/event.h
new file mode 100644
index 0000000..3f46632
--- /dev/null
+++ b/src/kernel/events/event.h
@@ -0,0 +1,9 @@
+#ifndef MELVIX_EVENT_H
+#define MELVIX_EVENT_H
+
+#include <stdint.h>
+
+u32 event_map(u32 id, u8 *function);
+u32 event_trigger(u32 id, u8 *data);
+
+#endif \ No newline at end of file