xref: /csrg-svn/lib/libc/vax/sys/signal.s (revision 34391)
1*34391Sbostic/*
2*34391Sbostic * Copyright (c) 1983 Regents of the University of California.
3*34391Sbostic * All rights reserved.
4*34391Sbostic *
5*34391Sbostic * Redistribution and use in source and binary forms are permitted
6*34391Sbostic * provided that this notice is preserved and that due credit is given
7*34391Sbostic * to the University of California at Berkeley. The name of the University
8*34391Sbostic * may not be used to endorse or promote products derived from this
9*34391Sbostic * software without specific written prior permission. This software
10*34391Sbostic * is provided ``as is'' without express or implied warranty.
11*34391Sbostic */
1217012Smckusick
13*34391Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint)
14*34391Sbostic_sccsid:.asciz	"@(#)signal.s	5.3 (Berkeley) 05/20/88"
15*34391Sbostic#endif /* SYSLIBC_SCCS and not lint */
16*34391Sbostic
1717012Smckusick#include "SYS.h"
1817012Smckusick
1917336Smckusick	.globl	__sigsim
2017336SmckusickENTRY(signal)
2117336Smckusick	blbs	__sigsim,2f
2217336Smckusick	chmk	$SYS_signal
2317336Smckusick	bcs	1f
2417012Smckusick	ret
2517336Smckusick1:
2617336Smckusick	jmp	cerror
2717336Smckusick
2817336Smckusick/*
2917336Smckusick * Must simulate signal
3017336Smckusick */
3117336Smckusick2:
3217336Smckusick	movq	4(ap),-(sp)
3317336Smckusick	calls	$2,_signalsim
3417336Smckusick	ret
35