aboutsummaryrefslogtreecommitdiff
path: root/src/userspace
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace')
-rw-r--r--src/userspace/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/userspace/main.c b/src/userspace/main.c
new file mode 100644
index 0000000..d332d8e
--- /dev/null
+++ b/src/userspace/main.c
@@ -0,0 +1,6 @@
+#include <kernel/syscall/syscall.h>
+
+void test_user() {
+ asm volatile ("hlt");
+ syscall_serial_write("Hello, user world!\n");
+} \ No newline at end of file