nanosleep(3), and sleep(3) rewrite, by Erik van der Kouwe

This commit is contained in:
David van Moolenbroek
2009-08-15 22:14:48 +00:00
parent 323f0abdd6
commit 5a13b2eda8
6 changed files with 106 additions and 58 deletions

View File

@@ -70,6 +70,7 @@ libc_FILES=" \
mknod.s \
mmap.s \
mount.s \
nanosleep.s \
open.s \
opendir.s \
pathconf.s \

6
lib/syscall/nanosleep.s Normal file
View File

@@ -0,0 +1,6 @@
.sect .text
.extern __nanosleep
.define _nanosleep
_nanosleep:
jmp __nanosleep