diff options
author | Marvin Borner | 2020-05-06 22:34:38 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-06 22:34:38 +0200 |
commit | 8083536f321ad8a12ad4668c2bf41a65c3e3b2f6 (patch) | |
tree | 427d7da11944b299bdce3041259bf8fd31971ede /src/kernel/syscall/actions/sys_map.c | |
parent | d94ffac4a584dc7a4f6f2ec567b8caab05ce9253 (diff) |
Added event mapping driver
Diffstat (limited to 'src/kernel/syscall/actions/sys_map.c')
-rw-r--r-- | src/kernel/syscall/actions/sys_map.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 <stdint.h> +#include <events/event.h> + +u32 sys_map(u32 id, u32 *function) +{ + event_map(id, function); + return -1; +}
\ No newline at end of file |