diff options
Diffstat (limited to 'src/kernel/syscall/actions')
-rw-r--r-- | src/kernel/syscall/actions/sys_get.c | 7 | ||||
-rw-r--r-- | src/kernel/syscall/actions/sys_map.c | 8 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/kernel/syscall/actions/sys_get.c b/src/kernel/syscall/actions/sys_get.c new file mode 100644 index 0000000..8a4a643 --- /dev/null +++ b/src/kernel/syscall/actions/sys_get.c @@ -0,0 +1,7 @@ +#include <stdint.h> + +u32 sys_get(u32 id) +{ + // TODO: Implement get syscall + return -1; +}
\ No newline at end of file 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 |