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>
This commit is contained in:
Paul Brook 2010-05-05 16:32:59 +01:00
parent 048d179f20
commit 2e9a5713f0
4 changed files with 5 additions and 54 deletions

View file

@ -2159,12 +2159,6 @@ static int vma_walker(void *priv, abi_ulong start, abi_ulong end,
{
struct mm_struct *mm = (struct mm_struct *)priv;
/*
* Don't dump anything that qemu has reserved for internal use.
*/
if (flags & PAGE_RESERVED)
return (0);
vma_add_mapping(mm, start, end, flags);
return (0);
}