aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/programs
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/programs')
-rw-r--r--src/userspace/programs/init.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/userspace/programs/init.c b/src/userspace/programs/init.c
index a669249..3c1d51f 100644
--- a/src/userspace/programs/init.c
+++ b/src/userspace/programs/init.c
@@ -5,14 +5,9 @@
void main()
{
- u32 *buf = malloc(4096);
- for (int i = 0; i < 4; i++)
- buf[i] = 42;
- syscall_halt();
-
- //printf("Initializing userspace...\n");
- //gui_init();
- //syscall_exec("/bin/sh");
+ printf("Initializing userspace...\n");
+ gui_init();
+ syscall_exec("/bin/sh");
while (1) {
};