URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [sparc64/] [wait.S] - Rev 1765
Compare with Previous | Blame | View Log
! wait() "system" call! It is really not a system call as it uses wait4().#include "sys/syscallasm.h"TEXT_SECTIONALIGN (4)#ifdef REENTGLOBAL (ASM_SYMBOL (_wait_r))ASM_SYMBOL (_wait_r):save %sp,-136,%spclr %o1mov %i1,%o2clr %o3call ASM_SYMBOL (_wait4_r)clr %o4jmpl %i7+8,%g0restore %g0,%o0,%o0#else /* ! REENT */GLOBAL (ASM_SYMBOL (wait))ASM_SYMBOL (wait):save %sp,-136,%spclr %o0mov %i0,%o1clr %o2call ASM_SYMBOL (wait4)clr %o3jmpl %i7+8,%g0restore %g0,%o0,%o0#endif /* ! REENT */
