diff options
author | Marvin Borner | 2019-10-31 15:19:12 +0100 |
---|---|---|
committer | Marvin Borner | 2019-10-31 15:19:12 +0100 |
commit | 2c7b6e0431d6dfbaf385d30e87e7eb9fd4a0e61d (patch) | |
tree | 04e3aaf05509fb9bdc16ccb30a773dac931c290e /src/userspace/main.c | |
parent | 7d5a9792e57b4088cce5cc97837eb04016b57a4d (diff) |
Some user mode improvements
Diffstat (limited to 'src/userspace/main.c')
-rw-r--r-- | src/userspace/main.c | 6 |
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 |