mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 10:19:07 +00:00
loader: Reserve some more memory to cover the native ole32 addresses.
This commit is contained in:
parent
09712593c8
commit
8d833ee2e7
|
@ -40,9 +40,9 @@
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#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");
|
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[] =
|
static const struct wine_preload_info wine_main_preload_info[] =
|
||||||
{
|
{
|
||||||
|
|
|
@ -110,7 +110,7 @@ static struct wine_preload_info preload_info[] =
|
||||||
{
|
{
|
||||||
{ (void *)0x00000000, 0x00010000 }, /* low 64k */
|
{ (void *)0x00000000, 0x00010000 }, /* low 64k */
|
||||||
{ (void *)0x00010000, 0x00100000 }, /* DOS area */
|
{ (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 */
|
{ (void *)0x7f000000, 0x03000000 }, /* top-down allocations + shared heap + virtual heap */
|
||||||
{ 0, 0 }, /* PE exe range set with WINEPRELOADRESERVE */
|
{ 0, 0 }, /* PE exe range set with WINEPRELOADRESERVE */
|
||||||
{ 0, 0 } /* end of list */
|
{ 0, 0 } /* end of list */
|
||||||
|
|
Loading…
Reference in a new issue