aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/programs
diff options
context:
space:
mode:
authorMarvin Borner2020-04-29 13:19:32 +0200
committerMarvin Borner2020-04-29 13:19:32 +0200
commit4f3c75d23188bd480739d6d1514543c95cfe3399 (patch)
treed7306d1e5496becadee6514e3e50bdfc2e37f3e0 /src/userspace/programs
parent50858d043cbd6f61cc091c6772f981ca2d6cca6b (diff)
Started libgui implementation
Diffstat (limited to 'src/userspace/programs')
-rw-r--r--src/userspace/programs/init.c4
-rw-r--r--src/userspace/programs/sh.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/userspace/programs/init.c b/src/userspace/programs/init.c
index 3011530..91564c0 100644
--- a/src/userspace/programs/init.c
+++ b/src/userspace/programs/init.c
@@ -1,9 +1,11 @@
#include <syscall.h>
+#include <gui.h>
void main()
{
+ gui_init();
syscall_exec("/bin/sh");
while (1) {
};
-}
+} \ No newline at end of file
diff --git a/src/userspace/programs/sh.c b/src/userspace/programs/sh.c
index f477d6e..6dcb206 100644
--- a/src/userspace/programs/sh.c
+++ b/src/userspace/programs/sh.c
@@ -11,4 +11,4 @@ void main()
}
syscall_halt();
-}
+} \ No newline at end of file