Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Drop COMPAT_13 on amd64, already not enabled. Reduc...
details: https://anonhg.NetBSD.org/src/rev/c0f0548ad5d6
branches: trunk
changeset: 357906:c0f0548ad5d6
user: maxv <maxv%NetBSD.org@localhost>
date: Sat Dec 02 13:03:15 2017 +0000
description:
Drop COMPAT_13 on amd64, already not enabled. Reduces the number of
critical places.
diffstat:
sys/arch/amd64/amd64/compat_13_machdep.c | 63 --------------------------------
sys/arch/amd64/conf/GENERIC | 6 +-
sys/arch/amd64/conf/files.amd64 | 3 +-
sys/arch/xen/conf/files.xen | 3 +-
4 files changed, 5 insertions(+), 70 deletions(-)
diffs (128 lines):
diff -r ef3fba51ca1d -r c0f0548ad5d6 sys/arch/amd64/amd64/compat_13_machdep.c
--- a/sys/arch/amd64/amd64/compat_13_machdep.c Sat Dec 02 12:40:03 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-/* $NetBSD: compat_13_machdep.c,v 1.1 2014/12/14 21:27:49 christos Exp $ */
-
-/*-
- * Copyright (c) 2014 The NetBSD Foundation, Inc.
- * All rights reserved.
- *
- * This code is derived from software contributed to The NetBSD Foundation
- * by Christos Zoulas.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
- * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.1 2014/12/14 21:27:49 christos Exp $");
-
-#ifdef _KERNEL_OPT
-#include "opt_compat_netbsd.h"
-#endif
-
-#include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/signalvar.h>
-#include <sys/kernel.h>
-#include <sys/proc.h>
-#include <sys/mount.h>
-#include <sys/syscallargs.h>
-
-#include <compat/sys/signal.h>
-#include <compat/sys/signalvar.h>
-
-#ifdef COMPAT_13
-
-int compat_13_sys_sigreturn(struct lwp *, const struct compat_13_sys_sigreturn_args *, register_t *);
-
-/*
- * There is no NetBSD-1.6 compatibility for native code.
- * COMPAT_13 is useful for i386 emulation (COMPAT_NETBSD32) only.
- */
-int
-compat_13_sys_sigreturn(struct lwp *l, const struct compat_13_sys_sigreturn_args *uap, register_t *retval)
-{
-
- return ENOSYS;
-}
-#endif
diff -r ef3fba51ca1d -r c0f0548ad5d6 sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC Sat Dec 02 12:40:03 2017 +0000
+++ b/sys/arch/amd64/conf/GENERIC Sat Dec 02 13:03:15 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.470 2017/12/02 12:40:03 maxv Exp $
+# $NetBSD: GENERIC,v 1.471 2017/12/02 13:03:15 maxv Exp $
#
# GENERIC machine description file
#
@@ -22,7 +22,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.470 $"
+#ident "GENERIC-$Revision: 1.471 $"
maxusers 64 # estimated number of users
@@ -117,7 +117,7 @@
# Compatibility options
#options EXEC_AOUT # required by binaries from before 1.5
-# NetBSD backward compatibility. Support goes from COMPAT_11 up until
+# NetBSD backward compatibility. Support goes from COMPAT_15 up until
# the latest release. Note that really old compat (< COMPAT_16) is only
# useful for 32-bit binaries.
include "conf/compat_netbsd15.config"
diff -r ef3fba51ca1d -r c0f0548ad5d6 sys/arch/amd64/conf/files.amd64
--- a/sys/arch/amd64/conf/files.amd64 Sat Dec 02 12:40:03 2017 +0000
+++ b/sys/arch/amd64/conf/files.amd64 Sat Dec 02 13:03:15 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.amd64,v 1.94 2017/10/08 09:06:50 maxv Exp $
+# $NetBSD: files.amd64,v 1.95 2017/12/02 13:03:15 maxv Exp $
#
# new style config file for amd64 architecture
#
@@ -136,7 +136,6 @@
# Compatibility modules
#
# Binary compatibility with previous NetBSD releases (COMPAT_XX)
-file arch/amd64/amd64/compat_13_machdep.c compat_13
file arch/amd64/amd64/compat_16_machdep.c compat_16
# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
diff -r ef3fba51ca1d -r c0f0548ad5d6 sys/arch/xen/conf/files.xen
--- a/sys/arch/xen/conf/files.xen Sat Dec 02 12:40:03 2017 +0000
+++ b/sys/arch/xen/conf/files.xen Sat Dec 02 13:03:15 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.xen,v 1.163 2017/11/06 15:21:23 cherry Exp $
+# $NetBSD: files.xen,v 1.164 2017/12/02 13:03:15 maxv Exp $
# NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp
# NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp
@@ -330,7 +330,6 @@
elifdef amd64
# Binary compatibility with previous NetBSD releases (COMPAT_XX)
-file arch/amd64/amd64/compat_13_machdep.c compat_13
file arch/amd64/amd64/compat_16_machdep.c compat_16
# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
Home |
Main Index |
Thread Index |
Old Index