summaryrefslogtreecommitdiff
path: root/cpu-all.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2010-05-05 16:32:59 +0100
committerPaul Brook <paul@codesourcery.com>2010-05-05 16:32:59 +0100
commit2e9a5713f0567fffaa3518f495b8d16a2b74f84a (patch)
treee7c2651dc7f83db54d27af18a7f8fac7bf848437 /cpu-all.h
parent048d179f20c1499c7f55957df125392de664b6a7 (diff)
downloadqemu-2e9a5713f0567fffaa3518f495b8d16a2b74f84a.tar.gz
qemu-2e9a5713f0567fffaa3518f495b8d16a2b74f84a.tar.bz2
qemu-2e9a5713f0567fffaa3518f495b8d16a2b74f84a.zip
Remove PAGE_RESERVED
The usermode PAGE_RESERVED code is not required by the current mmap implementation, and is already broken when guest_base != 0. Unfortunately the bsd emulation still uses the old mmap implementation, so we can't rip it out altogether. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'cpu-all.h')
-rw-r--r--cpu-all.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu-all.h b/cpu-all.h
index 7b1594cdf8..52a1817bd2 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -742,7 +742,10 @@ extern unsigned long qemu_host_page_mask;
/* original state of the write flag (used when tracking self-modifying
code */
#define PAGE_WRITE_ORG 0x0010
+#if defined(CONFIG_BSD) && defined(CONFIG_USER_ONLY)
+/* FIXME: Code that sets/uses this is broken and needs to go away. */
#define PAGE_RESERVED 0x0020
+#endif
#if defined(CONFIG_USER_ONLY)
void page_dump(FILE *f);