From 499784a824c541001c2fd52ae95eba88dcfc952b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 21 Dec 2019 22:22:03 +0100 Subject: Many debugging/serial improvements Sorry for the little information, but I did many things :) --- src/userspace/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/userspace/main.c') diff --git a/src/userspace/main.c b/src/userspace/main.c index 982a5ff..62bdc4e 100644 --- a/src/userspace/main.c +++ b/src/userspace/main.c @@ -1,6 +1,6 @@ #include #include -#include +#include int32_t starts_with(const char *a, const char *b) { @@ -11,10 +11,11 @@ int32_t starts_with(const char *a, const char *b) void user_main() { - printf("> Successfully switched to usermode!"); + char text[] = "> Successfully switched to usermode!\n"; + printf(text); // init_framebuffer(); - writec((char) strlen("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")); + // writec((char) strlen("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")); while (1) { char *input = readline(); -- cgit v1.2.3