152735Sbostic/*- 2*61148Sbostic * Copyright (c) 1991, 1993 3*61148Sbostic * The Regents of the University of California. All rights reserved. 452735Sbostic * 552735Sbostic * This code is derived from software contributed to Berkeley by 652735Sbostic * Ralph Campbell. 752735Sbostic * 852735Sbostic * %sccs.include.redist.c% 952735Sbostic */ 1052735Sbostic 1152735Sbostic#include "SYS.h" 1252735Sbostic 1352735Sbostic#if defined(LIBC_SCCS) && !defined(lint) 14*61148Sbostic ASMSTR("@(#)sigsuspend.s 8.1 (Berkeley) 06/04/93") 1552735Sbostic#endif /* LIBC_SCCS and not lint */ 1652735Sbostic 1752735SbosticLEAF(sigsuspend) 1852735Sbostic lw a0, 0(a0) # indirect to mask arg 1952735Sbostic li v0, SYS_sigsuspend 2052735Sbostic syscall 2152735Sbostic bne a3, zero, 1f 2258102Sralph move v0, zero # should not happen 2352735Sbostic j ra 2452735Sbostic1: 2552735Sbostic j _cerror 2652735SbosticEND(sigsuspend) 27