From e8f1c287a63f0f71fe463f7271834538b45f8c05 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 2 May 2020 18:17:35 +0200 Subject: Some work in the vfs --- src/userspace/programs/init.c | 7 ++++--- src/userspace/programs/sh.c | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src/userspace/programs') diff --git a/src/userspace/programs/init.c b/src/userspace/programs/init.c index 4127e19..732c104 100644 --- a/src/userspace/programs/init.c +++ b/src/userspace/programs/init.c @@ -1,13 +1,14 @@ #include #include #include +#include #include void main() { - gui_init(); - gui_screen_clear(); - 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 6913e05..f22a528 100644 --- a/src/userspace/programs/sh.c +++ b/src/userspace/programs/sh.c @@ -1,9 +1,11 @@ #include +#include #include #include void main() { + write("/dev/fb", 0, 5, "hallo"); printf("[~] "); while (1) { -- cgit v1.2.3