Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch We need <compat/sys/signal.h> and <compat/sys/signa...



details:   https://anonhg.NetBSD.org/src/rev/056ecaed7354
branches:  trunk
changeset: 584367:056ecaed7354
user:      he <he%NetBSD.org@localhost>
date:      Wed Sep 14 15:03:50 2005 +0000

description:
We need <compat/sys/signal.h> and <compat/sys/signalvar.h> here
for native_sigset13_to_sigset, sigset13_t, and sigvec.
The includes in sparc's machdep.c is conditional on COMPAT_13, as is
the use of native_sigset13_to_sigset.

diffstat:

 sys/arch/powerpc/powerpc/compat_13_machdep.c |  7 +++++--
 sys/arch/powerpc/powerpc/compat_16_machdep.c |  7 +++++--
 sys/arch/sparc/sparc/compat_13_machdep.c     |  7 +++++--
 sys/arch/sparc/sparc/machdep.c               |  9 +++++++--
 sys/arch/sparc/sparc/sunos_machdep.c         |  7 +++++--
 5 files changed, 27 insertions(+), 10 deletions(-)

diffs (142 lines):

diff -r c2aee9d05d08 -r 056ecaed7354 sys/arch/powerpc/powerpc/compat_13_machdep.c
--- a/sys/arch/powerpc/powerpc/compat_13_machdep.c      Wed Sep 14 15:00:16 2005 +0000
+++ b/sys/arch/powerpc/powerpc/compat_13_machdep.c      Wed Sep 14 15:03:50 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_13_machdep.c,v 1.9 2004/04/15 21:07:07 matt Exp $       */
+/*     $NetBSD: compat_13_machdep.c,v 1.10 2005/09/14 15:03:50 he Exp $        */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.9 2004/04/15 21:07:07 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.10 2005/09/14 15:03:50 he Exp $");
 
 #include "opt_ppcarch.h"
 
@@ -46,6 +46,9 @@
 #include <sys/sa.h>
 #include <sys/syscallargs.h>
 
+#include <compat/sys/signal.h>
+#include <compat/sys/signalvar.h>
+
 int
 compat_13_sys_sigreturn(struct lwp *l, void *v, register_t *retval)
 {
diff -r c2aee9d05d08 -r 056ecaed7354 sys/arch/powerpc/powerpc/compat_16_machdep.c
--- a/sys/arch/powerpc/powerpc/compat_16_machdep.c      Wed Sep 14 15:00:16 2005 +0000
+++ b/sys/arch/powerpc/powerpc/compat_16_machdep.c      Wed Sep 14 15:03:50 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_16_machdep.c,v 1.4 2004/04/15 21:07:07 matt Exp $       */
+/*     $NetBSD: compat_16_machdep.c,v 1.5 2005/09/14 15:03:50 he Exp $ */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.4 2004/04/15 21:07:07 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.5 2005/09/14 15:03:50 he Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_altivec.h"
@@ -48,6 +48,9 @@
 #include <sys/ucontext.h>
 #include <sys/user.h>
 
+#include <compat/sys/signal.h>
+#include <compat/sys/signalvar.h>
+
 #include <machine/fpu.h>
 
 /*
diff -r c2aee9d05d08 -r 056ecaed7354 sys/arch/sparc/sparc/compat_13_machdep.c
--- a/sys/arch/sparc/sparc/compat_13_machdep.c  Wed Sep 14 15:00:16 2005 +0000
+++ b/sys/arch/sparc/sparc/compat_13_machdep.c  Wed Sep 14 15:03:50 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_13_machdep.c,v 1.4 2003/07/15 00:05:02 lukem Exp $ */
+/*     $NetBSD: compat_13_machdep.c,v 1.5 2005/09/14 15:03:50 he Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.4 2003/07/15 00:05:02 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.5 2005/09/14 15:03:50 he Exp $");
 
 #include "opt_compat_netbsd.h"
 
@@ -51,6 +51,9 @@
 #include <sys/signal.h>
 #include <sys/signalvar.h>
 
+#include <compat/sys/signal.h>
+#include <compat/sys/signalvar.h>
+
 #include <sys/sa.h>
 #include <sys/syscallargs.h>
 
diff -r c2aee9d05d08 -r 056ecaed7354 sys/arch/sparc/sparc/machdep.c
--- a/sys/arch/sparc/sparc/machdep.c    Wed Sep 14 15:00:16 2005 +0000
+++ b/sys/arch/sparc/sparc/machdep.c    Wed Sep 14 15:03:50 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.257 2005/06/16 04:17:49 briggs Exp $ */
+/*     $NetBSD: machdep.c,v 1.258 2005/09/14 15:03:50 he Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.257 2005/06/16 04:17:49 briggs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.258 2005/09/14 15:03:50 he Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_compat_sunos.h"
@@ -112,6 +112,11 @@
 
 #include <sys/sysctl.h>
 
+#ifdef COMPAT_13
+#include <compat/sys/signal.h>
+#include <compat/sys/signalvar.h>
+#endif
+
 #define _SPARC_BUS_DMA_PRIVATE
 #include <machine/autoconf.h>
 #include <machine/bus.h>
diff -r c2aee9d05d08 -r 056ecaed7354 sys/arch/sparc/sparc/sunos_machdep.c
--- a/sys/arch/sparc/sparc/sunos_machdep.c      Wed Sep 14 15:00:16 2005 +0000
+++ b/sys/arch/sparc/sparc/sunos_machdep.c      Wed Sep 14 15:03:50 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sunos_machdep.c,v 1.14 2003/10/05 21:13:23 pk Exp $    */
+/*     $NetBSD: sunos_machdep.c,v 1.15 2005/09/14 15:03:50 he Exp $    */
 
 /*
  * Copyright (c) 1995 Matthew R. Green
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos_machdep.c,v 1.14 2003/10/05 21:13:23 pk Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos_machdep.c,v 1.15 2005/09/14 15:03:50 he Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -44,6 +44,9 @@
 #include <sys/signal.h>
 #include <sys/signalvar.h>
 
+#include <compat/sys/signal.h>
+#include <compat/sys/signalvar.h>
+
 #include <sys/sa.h>
 #include <sys/syscallargs.h>
 #include <compat/sunos/sunos.h>



Home | Main Index | Thread Index | Old Index