From bfe16de4be67565f1a1e7b1331fcbe3aedf9c54e Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 28 Apr 2020 19:15:47 +0200 Subject: Userspace rewrite -> IT WORKS! :) Finally, after many months of work and rewrites the syscalls with constant char pointers work now :D --- src/userspace/programs/sh.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/userspace/programs/sh.c (limited to 'src/userspace/programs') diff --git a/src/userspace/programs/sh.c b/src/userspace/programs/sh.c new file mode 100644 index 0000000..3cb2bf9 --- /dev/null +++ b/src/userspace/programs/sh.c @@ -0,0 +1,10 @@ +#include + +void main() +{ + syscall_write("\nHello from Userspace!\n"); + + syscall_write("> "); + + syscall_halt(); +} -- cgit v1.2.3