diff options
author | Marvin Borner | 2020-04-30 20:27:06 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-30 20:27:06 +0200 |
commit | 6c5e31b1e5534748f89233cdebf778247b040cbc (patch) | |
tree | d85b9c4905ad7c6d56c29133bca9b9cc2eb28159 /src/userspace/programs | |
parent | 8b52d7698e4a9a5abaf730c7da1c4f865cb78f8e (diff) |
Started vfs
Diffstat (limited to 'src/userspace/programs')
-rw-r--r-- | src/userspace/programs/init.c | 3 | ||||
-rw-r--r-- | src/userspace/programs/sh.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/userspace/programs/init.c b/src/userspace/programs/init.c index 3c1d51f..4127e19 100644 --- a/src/userspace/programs/init.c +++ b/src/userspace/programs/init.c @@ -5,8 +5,9 @@ void main() { - printf("Initializing userspace...\n"); gui_init(); + gui_screen_clear(); + printf("Initializing userspace...\n"); syscall_exec("/bin/sh"); while (1) { diff --git a/src/userspace/programs/sh.c b/src/userspace/programs/sh.c index 8da493e..6913e05 100644 --- a/src/userspace/programs/sh.c +++ b/src/userspace/programs/sh.c @@ -1,9 +1,9 @@ -#include <syscall.h> #include <stdio.h> +#include <syscall.h> +#include <gui.h> void main() { - printf("Test for printf! %d\n", 42); printf("[~] "); while (1) { |