diff options
Diffstat (limited to 'winsup/cygwin/local_includes/memory_layout.h')
-rw-r--r-- | winsup/cygwin/local_includes/memory_layout.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/winsup/cygwin/local_includes/memory_layout.h b/winsup/cygwin/local_includes/memory_layout.h index 18e7e4d69..83ccf8f65 100644 --- a/winsup/cygwin/local_includes/memory_layout.h +++ b/winsup/cygwin/local_includes/memory_layout.h @@ -52,8 +52,12 @@ details. */ so there's not much chance to meet unluckily. */ #define USERHEAP_START 0xa00000000UL -/* The memory region used for memory maps. - Up to Win 8 only 44 bit address space, 48 bit starting witrh 8.1, so - the max value is variable. */ -#define MMAP_STORAGE_LOW 0x001000000000L /* Leave ~32 Gigs for heap. */ -#define MMAP_STORAGE_HIGH wincap.mmap_storage_high () +/* The memory region used for memory maps. Mmaps grow downwards. + Set the lowest address to leave ~32 Gigs for heap. + + Up to Win 8 we only have a 44 bit address space, 48 bit address space + starting with 8.1, so the max value is a system-specific variable. */ +#define MMAP_STORAGE_LOW 0x001000000000UL +#define __MMAP_STORAGE_HIGH_LEGACY 0x070000000000UL +#define __MMAP_STORAGE_HIGH 0x700000000000UL +#define MMAP_STORAGE_HIGH wincap.mmap_storage_high () |