aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/main.c
diff options
context:
space:
mode:
authorMarvin Borner2020-01-06 00:06:45 +0100
committerMarvin Borner2020-01-06 00:06:45 +0100
commit84a8b41f4d4c444385e0d7ef058a57af07f0c2e1 (patch)
tree71184009c6fc25c3ee1b6d097d5af6705325419a /src/userspace/main.c
parent9390f6408884d0631e5d9865150851d53e2d6aec (diff)
Usermode based allocating works a bit now
*a bit*
Diffstat (limited to 'src/userspace/main.c')
-rw-r--r--src/userspace/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/userspace/main.c b/src/userspace/main.c
index 62bdc4e..6149573 100644
--- a/src/userspace/main.c
+++ b/src/userspace/main.c
@@ -14,14 +14,10 @@ void user_main()
char text[] = "> Successfully switched to usermode!\n";
printf(text);
- // init_framebuffer();
- // writec((char) strlen("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"));
-
while (1) {
char *input = readline();
if (starts_with(input, "ls")) {
- char test[] = "WOOOHOOO\n";
- syscall_write(test);
+ printf(text);
}
};
} \ No newline at end of file