Add missing file for previous commit.

This commit is contained in:
Gerald Pfeifer 2008-12-13 10:14:02 +00:00
parent 98f0d5a4ad
commit db0820a188
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224182
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,13 @@
--- dlls/ntdll/virtual.c.orig 2008-12-07 17:26:02.000000000 +0100
+++ dlls/ntdll/virtual.c 2008-12-07 17:28:46.000000000 +0100
@@ -1249,9 +1249,7 @@
}
}
- /* try to find space in a reserved area for the virtual heap */
- if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 1 ))
- heap_base = wine_anon_mmap( NULL, VIRTUAL_HEAP_SIZE, PROT_READ|PROT_WRITE, 0 );
+ heap_base = wine_anon_mmap( (void *)0x81000000, VIRTUAL_HEAP_SIZE, PROT_READ|PROT_WRITE, 0 );
assert( heap_base != (void *)-1 );
virtual_heap = RtlCreateHeap( HEAP_NO_SERIALIZE, heap_base, VIRTUAL_HEAP_SIZE,

View file

@ -0,0 +1,13 @@
--- dlls/ntdll/virtual.c.orig 2008-12-07 17:26:02.000000000 +0100
+++ dlls/ntdll/virtual.c 2008-12-07 17:28:46.000000000 +0100
@@ -1249,9 +1249,7 @@
}
}
- /* try to find space in a reserved area for the virtual heap */
- if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 1 ))
- heap_base = wine_anon_mmap( NULL, VIRTUAL_HEAP_SIZE, PROT_READ|PROT_WRITE, 0 );
+ heap_base = wine_anon_mmap( (void *)0x81000000, VIRTUAL_HEAP_SIZE, PROT_READ|PROT_WRITE, 0 );
assert( heap_base != (void *)-1 );
virtual_heap = RtlCreateHeap( HEAP_NO_SERIALIZE, heap_base, VIRTUAL_HEAP_SIZE,