summaryrefslogtreecommitdiff
path: root/sysproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysproc.c')
-rw-r--r--sysproc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysproc.c b/sysproc.c
index 9d599de..8cf3291 100644
--- a/sysproc.c
+++ b/sysproc.c
@@ -68,3 +68,10 @@ sys_sbrk(void)
setupsegs(cp);
return addr;
}
+
+int
+sys_yield(void)
+{
+ yield();
+ return 0;
+}