1*52735Sbostic/*- 2*52735Sbostic * Copyright (c) 1991 The Regents of the University of California. 3*52735Sbostic * All rights reserved. 4*52735Sbostic * 5*52735Sbostic * This code is derived from software contributed to Berkeley by 6*52735Sbostic * Ralph Campbell. 7*52735Sbostic * 8*52735Sbostic * %sccs.include.redist.c% 9*52735Sbostic */ 10*52735Sbostic 11*52735Sbostic#include "SYS.h" 12*52735Sbostic 13*52735Sbostic#if defined(LIBC_SCCS) && !defined(lint) 14*52735Sbostic ASMSTR("@(#)sigsuspend.s 5.1 (Berkeley) 02/29/92") 15*52735Sbostic#endif /* LIBC_SCCS and not lint */ 16*52735Sbostic 17*52735SbosticLEAF(sigsuspend) 18*52735Sbostic lw a0, 0(a0) # indirect to mask arg 19*52735Sbostic li v0, SYS_sigsuspend 20*52735Sbostic syscall 21*52735Sbostic bne a3, zero, 1f 22*52735Sbostic move v0, zero # shouldn't happen 23*52735Sbostic j ra 24*52735Sbostic1: 25*52735Sbostic j _cerror 26*52735SbosticEND(sigsuspend) 27