add stub for sendsig_sigcontext().

I leave this to our vax guys to implement it.
Implementing it is another step to make vax kernels build again.
This commit is contained in:
cegger 2008-12-27 16:26:06 +00:00
parent 8a0754e5d7
commit 074ef1779e
1 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sig_machdep.c,v 1.16 2008/12/20 12:50:24 cegger Exp $ */
/* $NetBSD: sig_machdep.c,v 1.17 2008/12/27 16:26:06 cegger Exp $ */
/*
* Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@ -83,7 +83,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.16 2008/12/20 12:50:24 cegger Exp $");
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.17 2008/12/27 16:26:06 cegger Exp $");
#include "opt_ddb.h"
#include "opt_compat_netbsd.h"
@ -442,6 +442,16 @@ setupstack_siginfo3(const ksiginfo_t *ksi, const sigset_t *mask, int vers,
return sp;
};
void
sendsig_sigcontext(const ksiginfo_t *ksi, const sigset_t *mask)
{
#error Implement sendsig_sigcontext
#if 0 /* This is the amd64 implementation */
printf("sendsig_sigcontext: illegal\n");
sigexit(curlwp, SIGILL);
#endif
}
void
sendsig_siginfo(const ksiginfo_t *ksi, const sigset_t *mask)
{