wait4.S revision 103ccde8fe2f2c8abde914a8ba736b2e9cb8d20b
1103ccde8fe2f2c8abde914a8ba736b2e9cb8d20bElliott Hughes/* Generated by gensyscalls.py. Do not edit. */
2103ccde8fe2f2c8abde914a8ba736b2e9cb8d20bElliott Hughes
35c2772f59d3b6f564897187324d8606f54423207Elliott Hughes#include <asm/unistd.h>
41fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    .text
517a8b0db63d54e9d79bf11112ace0c4fe9606289Elliott Hughes    .globl wait4
61fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    .align 4
717a8b0db63d54e9d79bf11112ace0c4fe9606289Elliott Hughes    .ent wait4
81fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham
917a8b0db63d54e9d79bf11112ace0c4fe9606289Elliott Hugheswait4:
101fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    .set noreorder
111fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    .cpload $t9
121fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    li $v0, __NR_wait4
131fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    syscall
141fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    bnez $a3, 1f
151fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    move $a0, $v0
161fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    j $ra
171fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    nop
181fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham1:
191fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    la $t9,__set_errno
201fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    j $t9
211fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    nop
221fa0d849576555577ffd9675677a3c95f21b754eRaghu Gandham    .set reorder
2317a8b0db63d54e9d79bf11112ace0c4fe9606289Elliott Hughes    .end wait4
24