diff options
author | Marvin Borner | 2020-04-28 20:59:57 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-28 20:59:57 +0200 |
commit | 5f8b5ce7efb7738eaebad43f9648975788ae19ff (patch) | |
tree | ab8fc4d4baa4adb99dc90461df689650acf34cef /src/kernel/syscall/actions/sys_getch.c | |
parent | bfe16de4be67565f1a1e7b1331fcbe3aedf9c54e (diff) |
Fixed userspace entering...
Many other fixes too, but I won't mention them because I don't want to
:)
Diffstat (limited to 'src/kernel/syscall/actions/sys_getch.c')
-rw-r--r-- | src/kernel/syscall/actions/sys_getch.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/kernel/syscall/actions/sys_getch.c b/src/kernel/syscall/actions/sys_getch.c new file mode 100644 index 0000000..f1e4dfb --- /dev/null +++ b/src/kernel/syscall/actions/sys_getch.c @@ -0,0 +1,10 @@ +#include <stdint.h> +#include <kernel/lib/stdio.h> +#include <kernel/input/input.h> +#include <kernel/lib/lib.h> +#include <kernel/lib/string.h> + +uint32_t sys_getch() +{ + return (uint32_t)getch(); +}
\ No newline at end of file |