qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
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 4/7] bsd-user: Remove openbsd system call inclusion and defines
Date: Fri, 31 Mar 2023 08:18:30 -0600	[thread overview]
Message-ID: <20230331141833.3647-5-imp@bsdimp.com> (raw)
In-Reply-To: <20230331141833.3647-1-imp@bsdimp.com>

Remove OpenBSD system call inclusion and defines. We've not supported
building all the BSDs into one module for some time, and the OpenBSD
support hasn't even built since the meson conversion.
---
 bsd-user/syscall_defs.h | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index 8352ab783c..a3a0fdbb52 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 "openbsd/syscall_nr.h"
 
 /*
  * machine/_types.h
@@ -65,17 +64,7 @@ struct target_iovec {
 
 #define TARGET_FREEBSD_MAP_FLAGMASK     0x1ff7
 
-#define TARGET_OPENBSD_MAP_INHERIT      0x0080  /* region is retained after */
-                                                /* exec */
-#define TARGET_OPENBSD_MAP_NOEXTEND     0x0100  /* for MAP_FILE, don't change */
-                                                /* file size */
-#define TARGET_OPENBSD_MAP_TRYFIXED     0x0400  /* attempt hint address, */
-                                                /* even within heap */
-
-#define TARGET_OPENBSD_MAP_FLAGMASK     0x17f7
-
-/* XXX */
-#define TARGET_BSD_MAP_FLAGMASK         0x3ff7
+#define TARGET_BSD_MAP_FLAGMASK         0x1ff7
 
 /*
  * sys/time.h
-- 
2.39.2



  parent reply	other threads:[~2023-03-31 14:24 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 ` [PATCH 2/7] bsd-user: Remove netbsd system call inclusion and defines Warner Losh
2023-03-31 14:18 ` [PATCH 3/7] bsd-user: Remove netbsd system call tracing Warner Losh
2023-03-31 14:18 ` Warner Losh [this message]
2023-03-31 14:18 ` [PATCH 5/7] bsd-user: Remove openbsd " 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-5-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).