1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. 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 8.1 (Berkeley) 06/04/93" 14#endif /* LIBC_SCCS and not lint */ 15 16#include "SYS.h" 17 18 .even 19err: 20 jmp cerror 21 22ENTRY(sigsuspend) 23 movl sp@(4),a0 24 movl a0@,sp@(4) /* indirect to mask arg */ 25 movl #SYS_sigsuspend,d0 26 trap #0 27 jcs err 28 clrl d0 /* shouldn't happen */ 29 rts 30