diff options
author | Marvin Borner | 2020-05-07 22:19:13 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-07 22:19:13 +0200 |
commit | 9b2e28ad7a752c0fe7b60e73ca43c827b45b3ee8 (patch) | |
tree | 5b1b48ccf8324cced9ae9c4139b493cd98789cc2 /src/userspace/programs/init.c | |
parent | 43184e40b14a5e41383ffb053e7c69c93ff81036 (diff) |
Added and applied include-sorting
Worked better than I thought!
Diffstat (limited to 'src/userspace/programs/init.c')
-rw-r--r-- | src/userspace/programs/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/userspace/programs/init.c b/src/userspace/programs/init.c index e749e2f..6cb80ce 100644 --- a/src/userspace/programs/init.c +++ b/src/userspace/programs/init.c @@ -1,9 +1,9 @@ +#include <common.h> +#include <gui.h> #include <stdio.h> #include <stdlib.h> -#include <common.h> #include <syscall.h> #include <unistd.h> -#include <gui.h> void test(u8 *data) { @@ -21,7 +21,7 @@ void main() printf("Initializing userspace...\n"); // TODO: Find out, why init gets PID 1 and stops - syscall_map(MAP_KEYBOARD, (u8)&test); + syscall_map(MAP_KEYBOARD, (u32)&test); // TODO: Fix occasional race conditions with cli/sti // TODO: Fix scheduler turning off randomly.. |