loader: On Mac, move the top-down allocations area down to avoid Rosetta regions.
commit497025d144fb738a60f9463027f993e5a8d04368
authorBrendan Shanks <bshanks@codeweavers.com>
Thu, 28 Jan 2021 22:52:45 +0000 (28 14:52 -0800)
committerMichael Stefaniuc <mstefani@winehq.org>
Mon, 17 May 2021 22:24:26 +0000 (18 00:24 +0200)
tree4351f77209f725c3b827382b3f0beae811092f37
parentea2a235727c3c3dbf018d2168d215c86c5e8b99d
loader: On Mac, move the top-down allocations area down to avoid Rosetta regions.

On Apple Silicon, Rosetta's shared cache starts at 0x7ffe00000000 and
the runtime is mapped below that.
Put the top-down allocation area below the runtime with plenty of room
to spare.

Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 720611e28e750b42c7b8d7a2b72047e3027c1ec5)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
loader/preloader_mac.c