aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/programs
diff options
context:
space:
mode:
authorMarvin Borner2020-04-30 20:27:06 +0200
committerMarvin Borner2020-04-30 20:27:06 +0200
commit6c5e31b1e5534748f89233cdebf778247b040cbc (patch)
treed85b9c4905ad7c6d56c29133bca9b9cc2eb28159 /src/userspace/programs
parent8b52d7698e4a9a5abaf730c7da1c4f865cb78f8e (diff)
Started vfs
Diffstat (limited to 'src/userspace/programs')
-rw-r--r--src/userspace/programs/init.c3
-rw-r--r--src/userspace/programs/sh.c4
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) {