From 2c7b6e0431d6dfbaf385d30e87e7eb9fd4a0e61d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 31 Oct 2019 15:19:12 +0100 Subject: Some user mode improvements --- src/userspace/main.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/userspace/main.c (limited to 'src/userspace/main.c') 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 + +void test_user() { + asm volatile ("hlt"); + syscall_serial_write("Hello, user world!\n"); +} \ No newline at end of file -- cgit v1.2.3