ack/mach/vax4/libbsd4_2/wait3.s

15 lines
175 B
ArmAsm
Raw Permalink Normal View History

1987-02-23 18:58:58 +00:00
#include "syscall.h"
DEFINE(_wait3)
movl 8(ap),r0
movl 12(ap),r1
bispsw $0xf
chmk $SYS_wait
1990-01-11 16:00:19 +00:00
bcs Ierr
1987-02-23 18:58:58 +00:00
tstl 4(ap)
1990-01-11 16:00:19 +00:00
beql Iout
1987-02-23 18:58:58 +00:00
movl r1,*4(ap)
1990-01-11 16:00:19 +00:00
Iout:
1987-02-23 18:58:58 +00:00
ret
1990-01-11 16:00:19 +00:00
Ierr:
1987-02-23 18:58:58 +00:00
jmp cerror