aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/programs/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/programs/init.c')
-rw-r--r--src/userspace/programs/init.c6
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..