xref: /csrg-svn/lib/libc/vax/sys/signal.s (revision 34830)
134391Sbostic/*
234391Sbostic * Copyright (c) 1983 Regents of the University of California.
334391Sbostic * All rights reserved.
434391Sbostic *
534391Sbostic * Redistribution and use in source and binary forms are permitted
6*34830Sbostic * provided that the above copyright notice and this paragraph are
7*34830Sbostic * duplicated in all such forms and that any documentation,
8*34830Sbostic * advertising materials, and other materials related to such
9*34830Sbostic * distribution and use acknowledge that the software was developed
10*34830Sbostic * by the University of California, Berkeley.  The name of the
11*34830Sbostic * University may not be used to endorse or promote products derived
12*34830Sbostic * from this software without specific prior written permission.
13*34830Sbostic * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14*34830Sbostic * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15*34830Sbostic * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1634391Sbostic */
1717012Smckusick
1834391Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint)
19*34830Sbostic	.asciz "@(#)signal.s	5.4 (Berkeley) 06/27/88"
2034391Sbostic#endif /* SYSLIBC_SCCS and not lint */
2134391Sbostic
2217012Smckusick#include "SYS.h"
2317012Smckusick
2417336Smckusick	.globl	__sigsim
2517336SmckusickENTRY(signal)
2617336Smckusick	blbs	__sigsim,2f
2717336Smckusick	chmk	$SYS_signal
2817336Smckusick	bcs	1f
2917012Smckusick	ret
3017336Smckusick1:
3117336Smckusick	jmp	cerror
3217336Smckusick
3317336Smckusick/*
3417336Smckusick * Must simulate signal
3517336Smckusick */
3617336Smckusick2:
3717336Smckusick	movq	4(ap),-(sp)
3817336Smckusick	calls	$2,_signalsim
3917336Smckusick	ret
40