mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
loader: Reserve some space for 32-bit top-down allocations on 64-bit.
This commit is contained in:
parent
0a33018211
commit
6b0836e3f1
Notes:
Alexandre Julliard
2023-05-31 22:52:38 +02:00
Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/wine/-/merge_requests/2943
2 changed files with 4 additions and 4 deletions
|
@ -108,11 +108,11 @@ static struct wine_preload_info preload_info[] =
|
|||
{ (void *)0x00000000, 0x00010000 }, /* low 64k */
|
||||
{ (void *)0x00010000, 0x00100000 }, /* DOS area */
|
||||
{ (void *)0x00110000, 0x67ef0000 }, /* low memory area */
|
||||
{ (void *)0x7f000000, 0x03000000 }, /* top-down allocations + shared heap + virtual heap */
|
||||
{ (void *)0x7f000000, 0x03000000 }, /* top-down allocations + shared user data + virtual heap */
|
||||
#else
|
||||
{ (void *)0x000000010000, 0x00100000 }, /* DOS area */
|
||||
{ (void *)0x000000110000, 0x67ef0000 }, /* low memory area */
|
||||
{ (void *)0x00007ff00000, 0x000f0000 }, /* shared user data */
|
||||
{ (void *)0x00007f000000, 0x00ff0000 }, /* 32-bit top-down allocations + shared user data */
|
||||
{ (void *)0x7ffffe000000, 0x01ff0000 }, /* top-down allocations + virtual heap */
|
||||
#endif
|
||||
{ 0, 0 }, /* PE exe range set with WINEPRELOADRESERVE */
|
||||
|
|
|
@ -90,11 +90,11 @@ static struct wine_preload_info preload_info[] =
|
|||
{ (void *)0x00001000, 0x0000f000 }, /* low 64k */
|
||||
{ (void *)0x00010000, 0x00100000 }, /* DOS area */
|
||||
{ (void *)0x00110000, 0x67ef0000 }, /* low memory area */
|
||||
{ (void *)0x7f000000, 0x03000000 }, /* top-down allocations + shared heap + virtual heap */
|
||||
{ (void *)0x7f000000, 0x03000000 }, /* top-down allocations + shared user data + virtual heap */
|
||||
#else /* __i386__ */
|
||||
{ (void *)0x000000010000, 0x00100000 }, /* DOS area */
|
||||
{ (void *)0x000000110000, 0x67ef0000 }, /* low memory area */
|
||||
{ (void *)0x00007ff00000, 0x000f0000 }, /* shared user data */
|
||||
{ (void *)0x00007f000000, 0x00ff0000 }, /* 32-bit top-down allocations + shared user data */
|
||||
{ (void *)0x000100000000, 0x14000000 }, /* WINE_4GB_RESERVE section */
|
||||
{ (void *)0x7ff000000000, 0x01ff0000 }, /* top-down allocations + virtual heap */
|
||||
#endif /* __i386__ */
|
||||
|
|
Loading…
Reference in a new issue