From 9b2e28ad7a752c0fe7b60e73ca43c827b45b3ee8 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 7 May 2020 22:19:13 +0200 Subject: Added and applied include-sorting Worked better than I thought! --- src/userspace/programs/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/userspace/programs/init.c') 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 +#include #include #include -#include #include #include -#include 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.. -- cgit v1.2.3