diff options
author | Marvin Borner | 2020-04-28 19:15:47 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-28 19:15:47 +0200 |
commit | bfe16de4be67565f1a1e7b1331fcbe3aedf9c54e (patch) | |
tree | 1bc7450acb82410753e34da30cb9f44d19b9e92b /src/userspace/programs | |
parent | 4b8518b4e791c68154ec52badcc921b62afafb49 (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.c | 10 |
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(); +} |