152735Sbostic/*- 252735Sbostic * Copyright (c) 1991 The Regents of the University of California. 352735Sbostic * 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*58102Sralph ASMSTR("@(#)sigsuspend.s 5.2 (Berkeley) 02/20/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 22*58102Sralph move v0, zero # should not happen 2352735Sbostic j ra 2452735Sbostic1: 2552735Sbostic j _cerror 2652735SbosticEND(sigsuspend) 27