Alexandre Julliard : loader: Reserve some more memory to cover the native ole32 addresses.

Alexandre Julliard julliard at winehq.org
Thu Jun 25 08:13:58 CDT 2009


Module: wine
Branch: master
Commit: 8d833ee2e7a1d8b82e2dccf51e0cbc20742a0833
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8d833ee2e7a1d8b82e2dccf51e0cbc20742a0833

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jun 25 14:19:09 2009 +0200

loader: Reserve some more memory to cover the native ole32 addresses.

---

 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 0ead6d4..676eae3 100644
--- a/loader/main.c
+++ b/loader/main.c
@@ -40,9 +40,9 @@
 
 #ifdef __APPLE__
 
-asm(".zerofill WINE_DOS, WINE_DOS, ___wine_dos, 0x60000000");
+asm(".zerofill WINE_DOS, WINE_DOS, ___wine_dos, 0x70000000");
 asm(".zerofill WINE_SHAREDHEAP, WINE_SHAREDHEAP, ___wine_shared_heap, 0x03000000");
-extern char __wine_dos[0x60000000], __wine_shared_heap[0x03000000];
+extern char __wine_dos[0x70000000], __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 1143972..e7ac0c1 100644
--- a/loader/preloader.c
+++ b/loader/preloader.c
@@ -110,7 +110,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 *)0x00110000, 0x6fef0000 },  /* low memory area */
     { (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