diff options
Diffstat (limited to 'src/userspace/programs')
-rw-r--r-- | src/userspace/programs/init.c | 7 | ||||
-rw-r--r-- | src/userspace/programs/sh.c | 2 |
2 files changed, 6 insertions, 3 deletions
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 <stdio.h> #include <stdlib.h> #include <syscall.h> +#include <unistd.h> #include <gui.h> 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 <stdio.h> +#include <unistd.h> #include <syscall.h> #include <gui.h> void main() { + write("/dev/fb", 0, 5, "hallo"); printf("[~] "); while (1) { |