Alexandre Julliard : loader: Reserve some space for the virtual heap too.
Alexandre Julliard
julliard at winehq.org
Fri Nov 7 07:23:57 CST 2008
Module: wine
Branch: master
Commit: 912e4d4def2ca98d3ff50c355430ff11e1a71abf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=912e4d4def2ca98d3ff50c355430ff11e1a71abf
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Nov 7 11:05:38 2008 +0100
loader: Reserve some space for the virtual heap too.
---
loader/main.c | 4 ++--
loader/preloader.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/loader/main.c b/loader/main.c
index 0a1afbb..289eb68 100644
--- a/loader/main.c
+++ b/loader/main.c
@@ -33,8 +33,8 @@
#ifdef __APPLE__
asm(".zerofill WINE_DOS, WINE_DOS, ___wine_dos, 0x60000000");
-asm(".zerofill WINE_SHARED_HEAP, WINE_SHARED_HEAP, ___wine_shared_heap, 0x02000000");
-extern char __wine_dos[0x60000000], __wine_shared_heap[0x02000000];
+asm(".zerofill WINE_SHARED_HEAP, WINE_SHARED_HEAP, ___wine_shared_heap, 0x03000000");
+extern char __wine_dos[0x60000000], __wine_shared_heap[0x03000000];
static const struct wine_preload_info wine_main_preload_info[] =
{
diff --git a/loader/preloader.c b/loader/preloader.c
index 109ad3f..5fcb974 100644
--- a/loader/preloader.c
+++ b/loader/preloader.c
@@ -111,7 +111,7 @@ static struct wine_preload_info preload_info[] =
{ (void *)0x00000000, 0x00010000 }, /* low 64k */
{ (void *)0x00010000, 0x00100000 }, /* DOS area */
{ (void *)0x00110000, 0x5fef0000 }, /* low memory area */
- { (void *)0x7f000000, 0x02000000 }, /* top-down allocations + shared heap */
+ { (void *)0x7f000000, 0x03000000 }, /* top-down allocations + shared heap + virtual heap */
{ 0, 0 }, /* PE exe range set with WINEPRELOADRESERVE */
{ 0, 0 } /* end of list */
};
More information about the wine-cvs
mailing list