aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/main.c
diff options
context:
space:
mode:
authorMarvin Borner2019-10-31 17:47:40 +0100
committerGitHub2019-10-31 17:47:40 +0100
commitc7e755cb843593db1eedb26c5c24932bbe743745 (patch)
treead14da17e6d0d883e68cc6eacc99ae522036dda8 /src/userspace/main.c
parentfd4f0a11126a20e75d72f8f2e6d418598fd5f37d (diff)
parent40a214f3c69a3d7da8c2f9bed5038dfa0ab72d4b (diff)
Merged pull request usermode
Added usermode
Diffstat (limited to 'src/userspace/main.c')
-rw-r--r--src/userspace/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/userspace/main.c b/src/userspace/main.c
new file mode 100644
index 0000000..526144e
--- /dev/null
+++ b/src/userspace/main.c
@@ -0,0 +1,5 @@
+#include <kernel/syscall/syscall.h>
+
+void test_user() {
+ syscall_serial_write("Hello, user world!\n");
+} \ No newline at end of file