From: Warner Losh <imp@bsdimp.com>
To: qemu-devel@nongnu.org
Cc: Ryo ONODERA <ryoon@netbsd.org>,
Reinoud Zandijk <reinoud@netbsd.org>,
Brad Smith <brad@comstyle.com>, Kyle Evans <kevans@freebsd.org>,
Warner Losh <imp@bsdimp.com>
Subject: [PATCH 2/7] bsd-user: Remove netbsd system call inclusion and defines
Date: Fri, 31 Mar 2023 08:18:28 -0600 [thread overview]
Message-ID: <20230331141833.3647-3-imp@bsdimp.com> (raw)
In-Reply-To: <20230331141833.3647-1-imp@bsdimp.com>
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 <imp@bsdimp.com>
---
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
next prev parent reply other threads:[~2023-03-31 14:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-31 14:18 [PATCH 0/7] bsd-user: remove bitrotted NetBSD and OpenBSD bsd-user support Warner Losh
2023-03-31 14:18 ` [PATCH 1/7] bsd-user: Remove obsolete prototypes Warner Losh
2023-03-31 14:18 ` Warner Losh [this message]
2023-03-31 14:18 ` [PATCH 3/7] bsd-user: Remove netbsd system call tracing Warner Losh
2023-03-31 14:18 ` [PATCH 4/7] bsd-user: Remove openbsd system call inclusion and defines Warner Losh
2023-03-31 14:18 ` [PATCH 5/7] bsd-user: Remove openbsd system call tracing Warner Losh
2023-03-31 14:18 ` [PATCH 6/7] bsd-user: Remove netbsd directory Warner Losh
2023-03-31 14:18 ` [PATCH 7/7] bsd-user: Remove openbsd directory Warner Losh
2023-03-31 14:21 ` [PATCH 0/7] bsd-user: remove bitrotted NetBSD and OpenBSD bsd-user support Warner Losh
2023-03-31 23:35 ` Richard Henderson
2023-04-01 13:00 ` Reinoud Zandijk
2023-04-01 13:15 ` Warner Losh
2023-04-02 21:01 ` Warner Losh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230331141833.3647-3-imp@bsdimp.com \
--to=imp@bsdimp.com \
--cc=brad@comstyle.com \
--cc=kevans@freebsd.org \
--cc=qemu-devel@nongnu.org \
--cc=reinoud@netbsd.org \
--cc=ryoon@netbsd.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).