From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 47D1CC761A6 for ; Fri, 31 Mar 2023 14:23:58 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piFfJ-0004JB-JH; Fri, 31 Mar 2023 10:23:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piFfI-0004Ic-I5 for qemu-devel@nongnu.org; Fri, 31 Mar 2023 10:23:40 -0400 Received: from c-71-237-47-177.hsd1.co.comcast.net ([71.237.47.177] helo=umbrella) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piFfF-0003ue-Ve for qemu-devel@nongnu.org; Fri, 31 Mar 2023 10:23:40 -0400 Received: from imp (uid 730) (envelope-from imp@umbrella) id 180a3 by umbrella (DragonFly Mail Agent v0.13+ on umbrella); Fri, 31 Mar 2023 08:18:33 -0600 From: Warner Losh To: qemu-devel@nongnu.org Cc: Ryo ONODERA , Reinoud Zandijk , Brad Smith , Kyle Evans , Warner Losh Subject: [PATCH 2/7] bsd-user: Remove netbsd system call inclusion and defines Date: Fri, 31 Mar 2023 08:18:28 -0600 Message-Id: <20230331141833.3647-3-imp@bsdimp.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230331141833.3647-1-imp@bsdimp.com> References: <20230331141833.3647-1-imp@bsdimp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=71.237.47.177; envelope-from=imp@umbrella; helo=umbrella X-Spam_score_int: 31 X-Spam_score: 3.1 X-Spam_bar: +++ X-Spam_report: (3.1 / 5.0 requ) BAYES_00=-1.9, FSL_HELO_NON_FQDN_1=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HELO_NO_DOMAIN=0.001, KHOP_HELO_FCRDNS=0.399, PDS_RDNS_DYNAMIC_FP=0.01, RCVD_IN_PBL=3.335, RCVD_IN_SORBS_DUL=0.001, RDNS_DYNAMIC=0.982, SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Remove NetBSD system call inclusion and defines. We've not supported building all the BSDs into one module for some time, and the NetBSD support hasn't even built since the meson conversion. Signed-off-by: Warner Losh --- bsd-user/syscall_defs.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h index b6d113d24a..8352ab783c 100644 --- a/bsd-user/syscall_defs.h +++ b/bsd-user/syscall_defs.h @@ -26,7 +26,6 @@ #include "errno_defs.h" #include "freebsd/syscall_nr.h" -#include "netbsd/syscall_nr.h" #include "openbsd/syscall_nr.h" /* @@ -40,9 +39,6 @@ * FreeBSD uses a 64bits time_t except on i386 * so we have to add a special case here. * - * On NetBSD time_t is always defined as an int64_t. On OpenBSD time_t - * is always defined as an int. - * */ #if (!defined(TARGET_I386)) typedef int64_t target_freebsd_time_t; @@ -69,18 +65,6 @@ struct target_iovec { #define TARGET_FREEBSD_MAP_FLAGMASK 0x1ff7 -#define TARGET_NETBSD_MAP_INHERIT 0x0080 /* region is retained after */ - /* exec */ -#define TARGET_NETBSD_MAP_TRYFIXED 0x0400 /* attempt hint address, even */ - /* within break */ -#define TARGET_NETBSD_MAP_WIRED 0x0800 /* mlock() mapping when it is */ - /* established */ - -#define TARGET_NETBSD_MAP_STACK 0x2000 /* allocated from memory, */ - /* swap space (stack) */ - -#define TARGET_NETBSD_MAP_FLAGMASK 0x3ff7 - #define TARGET_OPENBSD_MAP_INHERIT 0x0080 /* region is retained after */ /* exec */ #define TARGET_OPENBSD_MAP_NOEXTEND 0x0100 /* for MAP_FILE, don't change */ -- 2.39.2