From 8083536f321ad8a12ad4668c2bf41a65c3e3b2f6 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 6 May 2020 22:34:38 +0200 Subject: Added event mapping driver --- src/kernel/syscall/actions/sys_map.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/kernel/syscall/actions/sys_map.c (limited to 'src/kernel/syscall/actions/sys_map.c') diff --git a/src/kernel/syscall/actions/sys_map.c b/src/kernel/syscall/actions/sys_map.c new file mode 100644 index 0000000..63bfd9d --- /dev/null +++ b/src/kernel/syscall/actions/sys_map.c @@ -0,0 +1,8 @@ +#include +#include + +u32 sys_map(u32 id, u32 *function) +{ + event_map(id, function); + return -1; +} \ No newline at end of file -- cgit v1.2.3