aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/programs
diff options
context:
space:
mode:
authorMarvin Borner2020-04-28 19:15:47 +0200
committerMarvin Borner2020-04-28 19:15:47 +0200
commitbfe16de4be67565f1a1e7b1331fcbe3aedf9c54e (patch)
tree1bc7450acb82410753e34da30cb9f44d19b9e92b /src/userspace/programs
parent4b8518b4e791c68154ec52badcc921b62afafb49 (diff)
Userspace rewrite -> IT WORKS! :)
Finally, after many months of work and rewrites the syscalls with constant char pointers work now :D
Diffstat (limited to 'src/userspace/programs')
-rw-r--r--src/userspace/programs/sh.c10
1 files changed, 10 insertions, 0 deletions
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 <syscall.h>
+
+void main()
+{
+ syscall_write("\nHello from Userspace!\n");
+
+ syscall_write("> ");
+
+ syscall_halt();
+}