| Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 1 | /* autogenerated by gensyscalls.py */ | 
| Elliott Hughes | 5c2772f | 2013-03-21 22:15:06 -0700 | [diff] [blame] | 2 | #include <asm/unistd.h> | 
| Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 3 | .text | 
| Elliott Hughes | 17a8b0d | 2013-03-21 15:43:53 -0700 | [diff] [blame] | 4 | .globl wait4 | 
| Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 5 | .align 4 | 
| Elliott Hughes | 17a8b0d | 2013-03-21 15:43:53 -0700 | [diff] [blame] | 6 | .ent wait4 | 
| Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 7 | |
| Elliott Hughes | 17a8b0d | 2013-03-21 15:43:53 -0700 | [diff] [blame] | 8 | wait4: | 
| Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 9 | .set noreorder | 
| 10 | .cpload $t9 | ||||
| 11 | li $v0, __NR_wait4 | ||||
| 12 | syscall | ||||
| 13 | bnez $a3, 1f | ||||
| 14 | move $a0, $v0 | ||||
| 15 | j $ra | ||||
| 16 | nop | ||||
| 17 | 1: | ||||
| 18 | la $t9,__set_errno | ||||
| 19 | j $t9 | ||||
| 20 | nop | ||||
| 21 | .set reorder | ||||
| Elliott Hughes | 17a8b0d | 2013-03-21 15:43:53 -0700 | [diff] [blame] | 22 | .end wait4 |