From e9407b091b34d93014b89660601da62f13df37aa Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 1 Dec 2019 15:47:35 +0100 Subject: Semi-working C-based userspace syscalls --- src/userspace/main.c | 10 ++++++++++ 1 file changed, 10 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..22bb42a --- /dev/null +++ b/src/userspace/main.c @@ -0,0 +1,10 @@ +#include + +extern void syscall(); + +void user_main() +{ + syscall(); + + while (1) {}; +} \ No newline at end of file -- cgit v1.2.3