aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/programs/sh.c
diff options
context:
space:
mode:
authorMarvin Borner2020-05-09 17:39:31 +0200
committerMarvin Borner2020-05-09 17:39:31 +0200
commit09a66e91ec9e8a677aa48f27798753084f213713 (patch)
tree9685a13b459e60d830179c565417ed72ae855ebe /src/userspace/programs/sh.c
parent3a97fef4bb4780e4bc2423699063d40cbf5da923 (diff)
Replaced fork() with spawn()!
Who needs forks anyway
Diffstat (limited to 'src/userspace/programs/sh.c')
-rw-r--r--src/userspace/programs/sh.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/userspace/programs/sh.c b/src/userspace/programs/sh.c
index f8f93f3..ba6ba8f 100644
--- a/src/userspace/programs/sh.c
+++ b/src/userspace/programs/sh.c
@@ -6,6 +6,11 @@
#include <syscall.h>
#include <unistd.h>
+void test(u8 *data)
+{
+ printf(".");
+}
+
void main()
{
printf("[~] ");
@@ -13,6 +18,7 @@ void main()
/* while (1) { */
/* putch(getch()); */
/* } */
+ //syscall_map(MAP_KEYBOARD, (u32)&test);
/* syscall_halt(); */
while (1) {