aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/programs
diff options
context:
space:
mode:
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();
+}