From 84a8b41f4d4c444385e0d7ef058a57af07f0c2e1 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 6 Jan 2020 00:06:45 +0100 Subject: Usermode based allocating works a bit now *a bit* --- src/userspace/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/userspace/main.c') 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 -- cgit v1.2.3