1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * the Systems Programming Group of the University of Utah Computer 7 * Science Department. 8 * 9 * %sccs.include.redist.c% 10 */ 11 12#if defined(LIBC_SCCS) && !defined(lint) 13 .asciz "@(#)sigsuspend.s 5.1 (Berkeley) 05/12/90" 14#endif /* LIBC_SCCS and not lint */ 15 16#include "SYS.h" 17 18err: 19 jmp cerror 20 21ENTRY(sigsuspend) 22 movl sp@(4),a0 23 movl a0@,sp@(4) /* indirect to mask arg */ 24 movl #SYS_sigsuspend,d0 25 trap #0 26 jcs err 27 clrl d0 /* shouldn't happen */ 28 rts 29