diff options
author | Paul Brook <paul@codesourcery.com> | 2010-05-05 16:32:59 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2010-05-05 16:32:59 +0100 |
commit | 2e9a5713f0567fffaa3518f495b8d16a2b74f84a (patch) | |
tree | e7c2651dc7f83db54d27af18a7f8fac7bf848437 /cpu-all.h | |
parent | 048d179f20c1499c7f55957df125392de664b6a7 (diff) | |
download | qemu-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |