mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:35:52 +00:00
ntdll: Don't release address space on 64-bit macOS.
This commit is contained in:
parent
900dfca389
commit
c1958ddc7a
|
@ -4128,6 +4128,13 @@ static void virtual_release_address_space(void)
|
|||
char *base = (char *)0x82000000;
|
||||
char *limit = get_wow_user_space_limit();
|
||||
|
||||
#if defined(__APPLE__) && !defined(__i386__)
|
||||
/* On 64-bit macOS, don't release any address space.
|
||||
* It needs to be reserved for use by Wow64
|
||||
*/
|
||||
return;
|
||||
#endif
|
||||
|
||||
if (limit > (char *)0xfffff000) return; /* 64-bit limit, nothing to do */
|
||||
|
||||
if (limit > base)
|
||||
|
|
Loading…
Reference in a new issue