Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys/compat/netbsd32 Also need to declare the emul_...
details: https://anonhg.NetBSD.org/src/rev/67c621b2c24d
branches: pgoyette-compat
changeset: 830648:67c621b2c24d
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue Sep 11 05:00:42 2018 +0000
description:
Also need to declare the emul_netbsd32 !
diffstat:
sys/compat/netbsd32/files.netbsd32 | 3 ++-
sys/compat/netbsd32/netbsd32_compat_09.c | 6 ++++--
sys/compat/netbsd32/netbsd32_compat_12.c | 6 ++++--
sys/compat/netbsd32/netbsd32_compat_13.c | 6 ++++--
sys/compat/netbsd32/netbsd32_compat_20.c | 6 ++++--
sys/compat/netbsd32/netbsd32_compat_30.c | 5 +++--
sys/compat/netbsd32/netbsd32_compat_50.c | 6 ++++--
sys/compat/netbsd32/netbsd32_compat_60.c | 5 +++--
8 files changed, 28 insertions(+), 15 deletions(-)
diffs (201 lines):
diff -r 57a9daf8bea3 -r 67c621b2c24d sys/compat/netbsd32/files.netbsd32
--- a/sys/compat/netbsd32/files.netbsd32 Tue Sep 11 04:53:42 2018 +0000
+++ b/sys/compat/netbsd32/files.netbsd32 Tue Sep 11 05:00:42 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.netbsd32,v 1.39.14.1 2018/03/21 02:01:34 pgoyette Exp $
+# $NetBSD: files.netbsd32,v 1.39.14.2 2018/09/11 05:00:42 pgoyette Exp $
#
# config file description for machine-independent netbsd32 compat code.
# included by ports that need it.
@@ -45,3 +45,4 @@
file compat/netbsd32/netbsd32_compat_50_sysv.c compat_netbsd32 & compat_50 &
(sysvmsg | sysvsem | sysvshm)
file compat/netbsd32/netbsd32_compat_60.c compat_netbsd32 & compat_60
+file compat/netbsd32/netbsd32_compat_80.c compat_netbsd32 & compat_80
diff -r 57a9daf8bea3 -r 67c621b2c24d sys/compat/netbsd32/netbsd32_compat_09.c
--- a/sys/compat/netbsd32/netbsd32_compat_09.c Tue Sep 11 04:53:42 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_09.c Tue Sep 11 05:00:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_compat_09.c,v 1.18.86.3 2018/09/11 04:53:42 pgoyette Exp $ */
+/* $NetBSD: netbsd32_compat_09.c,v 1.18.86.4 2018/09/11 05:00:42 pgoyette Exp $ */
/*
* Copyright (c) 1998 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_09.c,v 1.18.86.3 2018/09/11 04:53:42 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_09.c,v 1.18.86.4 2018/09/11 05:00:42 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -46,6 +46,8 @@
#include <compat/netbsd32/netbsd32_syscall.h>
#include <compat/netbsd32/netbsd32_syscallargs.h>
+extern struct emul emul_netbsd32;
+
int
compat_09_netbsd32_ogetdomainname(struct lwp *l, const struct compat_09_netbsd32_ogetdomainname_args *uap, register_t *retval)
{
diff -r 57a9daf8bea3 -r 67c621b2c24d sys/compat/netbsd32/netbsd32_compat_12.c
--- a/sys/compat/netbsd32/netbsd32_compat_12.c Tue Sep 11 04:53:42 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_12.c Tue Sep 11 05:00:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_compat_12.c,v 1.33.36.5 2018/09/11 04:53:42 pgoyette Exp $ */
+/* $NetBSD: netbsd32_compat_12.c,v 1.33.36.6 2018/09/11 05:00:42 pgoyette Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_12.c,v 1.33.36.5 2018/09/11 04:53:42 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_12.c,v 1.33.36.6 2018/09/11 05:00:42 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -54,6 +54,8 @@
#include <compat/netbsd32/netbsd32_syscall.h>
#include <compat/netbsd32/netbsd32_syscallargs.h>
+extern struct emul emul_netbsd32;
+
static void netbsd32_stat12_to_netbsd32(struct stat12 *,
struct netbsd32_stat12 *);
diff -r 57a9daf8bea3 -r 67c621b2c24d sys/compat/netbsd32/netbsd32_compat_13.c
--- a/sys/compat/netbsd32/netbsd32_compat_13.c Tue Sep 11 04:53:42 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_13.c Tue Sep 11 05:00:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_compat_13.c,v 1.26.28.4 2018/09/11 04:53:42 pgoyette Exp $ */
+/* $NetBSD: netbsd32_compat_13.c,v 1.26.28.5 2018/09/11 05:00:42 pgoyette Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_13.c,v 1.26.28.4 2018/09/11 04:53:42 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_13.c,v 1.26.28.5 2018/09/11 05:00:42 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -49,6 +49,8 @@
#include <compat/common/compat_sigaltstack.h>
+extern struct emul emul_netbsd32;
+
int
compat_13_netbsd32_sigaltstack13(struct lwp *l, const struct compat_13_netbsd32_sigaltstack13_args *uap, register_t *retval)
{
diff -r 57a9daf8bea3 -r 67c621b2c24d sys/compat/netbsd32/netbsd32_compat_20.c
--- a/sys/compat/netbsd32/netbsd32_compat_20.c Tue Sep 11 04:53:42 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_20.c Tue Sep 11 05:00:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_compat_20.c,v 1.36.10.6 2018/09/11 04:53:42 pgoyette Exp $ */
+/* $NetBSD: netbsd32_compat_20.c,v 1.36.10.7 2018/09/11 05:00:42 pgoyette Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_20.c,v 1.36.10.6 2018/09/11 04:53:42 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_20.c,v 1.36.10.7 2018/09/11 05:00:42 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -51,6 +51,8 @@
#include <compat/netbsd32/netbsd32_syscallargs.h>
#include <compat/netbsd32/netbsd32_conv.h>
+extern struct emul emul_netbsd32;
+
static inline void compat_20_netbsd32_from_statvfs(struct statvfs *,
struct netbsd32_statfs *);
diff -r 57a9daf8bea3 -r 67c621b2c24d sys/compat/netbsd32/netbsd32_compat_30.c
--- a/sys/compat/netbsd32/netbsd32_compat_30.c Tue Sep 11 04:53:42 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_30.c Tue Sep 11 05:00:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_compat_30.c,v 1.31.16.5 2018/09/11 04:53:42 pgoyette Exp $ */
+/* $NetBSD: netbsd32_compat_30.c,v 1.31.16.6 2018/09/11 05:00:42 pgoyette Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_30.c,v 1.31.16.5 2018/09/11 04:53:42 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_30.c,v 1.31.16.6 2018/09/11 05:00:42 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -58,6 +58,7 @@
#include <compat/netbsd32/netbsd32_conv.h>
#include <compat/sys/mount.h>
+extern struct emul emul_netbsd32;
int
compat_30_netbsd32_getdents(struct lwp *l, const struct compat_30_netbsd32_getdents_args *uap, register_t *retval)
diff -r 57a9daf8bea3 -r 67c621b2c24d sys/compat/netbsd32/netbsd32_compat_50.c
--- a/sys/compat/netbsd32/netbsd32_compat_50.c Tue Sep 11 04:53:42 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_50.c Tue Sep 11 05:00:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_compat_50.c,v 1.32.16.4 2018/09/11 04:53:42 pgoyette Exp $ */
+/* $NetBSD: netbsd32_compat_50.c,v 1.32.16.5 2018/09/11 05:00:42 pgoyette Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_50.c,v 1.32.16.4 2018/09/11 04:53:42 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_50.c,v 1.32.16.5 2018/09/11 05:00:42 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -73,6 +73,8 @@
#include <compat/sys/mount.h>
#include <compat/sys/time.h>
+extern struct emul emul_netbsd32;
+
#if defined(COMPAT_50)
/*
diff -r 57a9daf8bea3 -r 67c621b2c24d sys/compat/netbsd32/netbsd32_compat_60.c
--- a/sys/compat/netbsd32/netbsd32_compat_60.c Tue Sep 11 04:53:42 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_60.c Tue Sep 11 05:00:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_compat_60.c,v 1.3.2.4 2018/09/11 04:53:42 pgoyette Exp $ */
+/* $NetBSD: netbsd32_compat_60.c,v 1.3.2.5 2018/09/11 05:00:42 pgoyette Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_60.c,v 1.3.2.4 2018/09/11 04:53:42 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_60.c,v 1.3.2.5 2018/09/11 05:00:42 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -52,6 +52,7 @@
#include <compat/netbsd32/netbsd32_syscallargs.h>
#include <compat/netbsd32/netbsd32_conv.h>
+extern struct emul emul_netbsd32;
int
compat_60_netbsd32__lwp_park(struct lwp *l,
Home |
Main Index |
Thread Index |
Old Index