aboutsummaryrefslogtreecommitdiff
path: root/src/apps/init/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/apps/init/main.c')
-rw-r--r--src/apps/init/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/apps/init/main.c b/src/apps/init/main.c
index 47d7bba..6a9cd5f 100644
--- a/src/apps/init/main.c
+++ b/src/apps/init/main.c
@@ -1,9 +1,13 @@
#include <stdbool.h>
+#include <string.h>
+
+#include <syscall.h>
#include <debug.h>
int main(int argc, char **argv) {
- asm volatile("int $0x40");
- while(true);
+ dbg_print("Hello, world! from user process.\n");
+
+ return 0;
}