compat signal array renaming.
This commit is contained in:
parent
3387a6a54e
commit
83c2f7aaf5
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ibcs2_machdep.c,v 1.17 2001/11/15 07:03:29 lukem Exp $ */
|
/* $NetBSD: ibcs2_machdep.c,v 1.18 2002/03/31 22:21:02 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1997, 2000 The NetBSD Foundation, Inc.
|
* Copyright (c) 1997, 2000 The NetBSD Foundation, Inc.
|
||||||
@ -37,7 +37,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ibcs2_machdep.c,v 1.17 2001/11/15 07:03:29 lukem Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ibcs2_machdep.c,v 1.18 2002/03/31 22:21:02 christos Exp $");
|
||||||
|
|
||||||
#if defined(_KERNEL_OPT)
|
#if defined(_KERNEL_OPT)
|
||||||
#include "opt_vm86.h"
|
#include "opt_vm86.h"
|
||||||
@ -125,7 +125,7 @@ ibcs2_sendsig(catcher, sig, mask, code)
|
|||||||
fp--;
|
fp--;
|
||||||
|
|
||||||
/* Build stack frame for signal trampoline. */
|
/* Build stack frame for signal trampoline. */
|
||||||
frame.sf_signum = native_to_ibcs2_sig[sig];
|
frame.sf_signum = native_to_ibcs2_signo[sig];
|
||||||
frame.sf_code = code;
|
frame.sf_code = code;
|
||||||
frame.sf_scp = &fp->sf_sc;
|
frame.sf_scp = &fp->sf_sc;
|
||||||
frame.sf_handler = catcher;
|
frame.sf_handler = catcher;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: svr4_machdep.c,v 1.60 2002/03/16 20:45:43 christos Exp $ */
|
/* $NetBSD: svr4_machdep.c,v 1.61 2002/03/31 22:21:02 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1994, 2000 The NetBSD Foundation, Inc.
|
* Copyright (c) 1994, 2000 The NetBSD Foundation, Inc.
|
||||||
@ -37,7 +37,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.60 2002/03/16 20:45:43 christos Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.61 2002/03/31 22:21:02 christos Exp $");
|
||||||
|
|
||||||
#if defined(_KERNEL_OPT)
|
#if defined(_KERNEL_OPT)
|
||||||
#include "opt_vm86.h"
|
#include "opt_vm86.h"
|
||||||
@ -268,7 +268,7 @@ svr4_getsiginfo(si, sig, code, addr)
|
|||||||
u_long code;
|
u_long code;
|
||||||
caddr_t addr;
|
caddr_t addr;
|
||||||
{
|
{
|
||||||
si->si_signo = native_to_svr4_sig[sig];
|
si->si_signo = native_to_svr4_signo[sig];
|
||||||
si->si_errno = 0;
|
si->si_errno = 0;
|
||||||
si->si_addr = addr;
|
si->si_addr = addr;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: svr4_machdep.c,v 1.6 2001/02/04 23:53:32 jmc Exp $ */
|
/* $NetBSD: svr4_machdep.c,v 1.7 2002/03/31 22:21:03 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||||
@ -237,7 +237,7 @@ svr4_getsiginfo(sip, sig, code, addr)
|
|||||||
* at a place near you.
|
* at a place near you.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
sip->si_signo = native_to_svr4_sig[sig];
|
sip->si_signo = native_to_svr4_signo[sig];
|
||||||
sip->si_errno = 0;
|
sip->si_errno = 0;
|
||||||
sip->si_code = 0; /* reserved, `no information' */
|
sip->si_code = 0; /* reserved, `no information' */
|
||||||
sip->si_addr = addr; /* XXX not necessarily correct */
|
sip->si_addr = addr; /* XXX not necessarily correct */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: svr4_machdep.c,v 1.43 2001/05/30 12:28:51 mrg Exp $ */
|
/* $NetBSD: svr4_machdep.c,v 1.44 2002/03/31 22:21:03 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
||||||
@ -322,7 +322,7 @@ svr4_getsiginfo(si, sig, code, addr)
|
|||||||
u_long code;
|
u_long code;
|
||||||
caddr_t addr;
|
caddr_t addr;
|
||||||
{
|
{
|
||||||
si->si_signo = native_to_svr4_sig[sig];
|
si->si_signo = native_to_svr4_signo[sig];
|
||||||
si->si_errno = 0;
|
si->si_errno = 0;
|
||||||
si->si_addr = addr;
|
si->si_addr = addr;
|
||||||
/*
|
/*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: svr4_machdep.c,v 1.24 2002/03/21 22:50:09 petrov Exp $ */
|
/* $NetBSD: svr4_machdep.c,v 1.25 2002/03/31 22:21:04 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
||||||
@ -363,7 +363,7 @@ svr4_getsiginfo(si, sig, code, addr)
|
|||||||
u_long code;
|
u_long code;
|
||||||
caddr_t addr;
|
caddr_t addr;
|
||||||
{
|
{
|
||||||
si->si_signo = native_to_svr4_sig[sig];
|
si->si_signo = native_to_svr4_signo[sig];
|
||||||
si->si_errno = 0;
|
si->si_errno = 0;
|
||||||
si->si_addr = addr;
|
si->si_addr = addr;
|
||||||
/*
|
/*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ibcs2_machdep.c,v 1.1 2000/01/10 03:06:44 matt Exp $ */
|
/* $NetBSD: ibcs2_machdep.c,v 1.2 2002/03/31 22:21:04 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||||
@ -80,7 +80,7 @@ ibcs2_sendsig(catcher, sig, mask, code)
|
|||||||
sigset_t *mask;
|
sigset_t *mask;
|
||||||
u_long code;
|
u_long code;
|
||||||
{
|
{
|
||||||
sendsig(catcher, native_to_ibcs2_sig[sig], mask, code);
|
sendsig(catcher, native_to_ibcs2_signo[sig], mask, code);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user