Kernel32: 3GB UserSpace boot option

Stefan Reimer lists at startux.de
Wed Oct 15 04:01:23 CDT 2008


The EQ2 binary is large address aware.

Windows changes it upper most user space address from 0x7FFEFFFF to
0xBFFEFFFF booting with /3GB and this is not possible in wine right now as
I think.

Stefan

> "Stefan Reimer" <lists at startux.de> wrote:
>
>> I hacked wine to enable 3GB user address space just like the /3GB
>> boot.ini
>> option for windows. ( see patch )
>> This actually works like a charm playing everquest2 which crashes from
>> time to time without this patch due to running out of memory.
>>
>> To do it right, should this "3GB Option" be enabled by a wine start
>> parameter or a registry key ? Is the registry already setup during the
>> call of libs/wine/mmap.c ?
>
> There is no need for hacks like that, 3 Gb address space limit is already
> implemented in Wine, but is being activated only for applications marked
> as IMAGE_FILE_LARGE_ADDRESS_AWARE for obvious reasons.
>
> --
> Dmitry.
>





More information about the wine-devel mailing list