aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/programs
diff options
context:
space:
mode:
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) {