Received: by mail.netbsd.org (Postfix, from userid 605) id 67ACF84EEF; Sat, 2 Dec 2017 12:40:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E32F684DD5 for ; Sat, 2 Dec 2017 12:40:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Rx5c_Eb7I6o2 for ; Sat, 2 Dec 2017 12:40:03 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 8433F84D1F for ; Sat, 2 Dec 2017 12:40:03 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7B373FB40; Sat, 2 Dec 2017 12:40:03 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 2 Dec 2017 12:40:03 +0000 From: "Maxime Villard" Subject: CVS commit: src/sys/arch/amd64 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20171202124003.7B373FB40@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Maxime Villard" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: maxv Date: Sat Dec 2 12:40:03 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: trap.c src/sys/arch/amd64/conf: ALL GENERIC Log Message: Drop COMPAT_10 on amd64. The support for it comes down to one ifdef in trap.c - code that is incorrect anyway, there were originally three lcall LDT slots, and here only one instruction is decoded. Given that one of these slots was used by BSDi's syscall, also remove the references to COMPAT_NOMID to make clear we don't support that (it already is not enabled). Note: for some reason, COMPAT_10 does not even compile, because there are "multiple definitions of _KERNEL_OPT_COMPAT_...", and I don't really understand where this comes from. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/sys/arch/amd64/amd64/trap.c cvs rdiff -u -r1.73 -r1.74 src/sys/arch/amd64/conf/ALL cvs rdiff -u -r1.469 -r1.470 src/sys/arch/amd64/conf/GENERIC Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.