URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [sysvi386/] [waitpid.S] - Rev 207
Compare with Previous | Blame | View Log
.globl _waitpid
.globl waitpid
_waitpid:
waitpid:
pushfl
popl %eax
orl $0x8c4,%eax
pushl %eax
popfl
movl $0x7, %eax
lcall $7,$0
jb _cerror
movl 8(%esp), %ecx
testl %ecx, %ecx
je bye
movl %edx, (%ecx)
bye:
ret