search for: check_vmsplit

Displaying 1 result from an estimated 1 matches for "check_vmsplit".

2010 Sep 26
3
Re: Memory Limitations for WINE 1.1.33 under Mac OS Leopard
I noticed in the loader/main.c that there seems to be some comment that it might be possible to set a build such that 3GB of memory can be allocated for a 32-bit process (through virtual memory mapping). static void check_vmsplit( void *stack ) { if (stack < (void *)0x80000000) { /* if the stack is below 0x80000000, assume we can safely try a munmap there */ if (munmap( (void *)0x80000000, 1 ) == -1 && errno == EINVAL) fprintf( stderr, "Warning: memory...