Fix for programs that store VirtualQueryEx results in signed integers (eg. The Borland Linker)

Mike Hearn mh at codeweavers.com
Thu Mar 4 03:12:29 CST 2004


On Wed, 03 Mar 2004 17:23:27 -0800, Alexandre Julliard wrote:
>> So you'd rather ensure that we hold one or more anonymous maps reserving 
>> everything above 0x80000000 (except for NT emulations, assuming the 3G 
>> emulation is to be preferred, or there's an option for 3G), and when the 
>> system needs to allocate something there, free a portion of the anonymous map 
>> and reallocate?
> 
> Something like that yes. It means we need to keep track of the
> allocations in that area, which cannot be done with the existing
> mechanism since we currently rely on the kernel to manage the free
> space. So there's a bit of work involved.

This sounds a bit like what we need to do for exec-shield/prelink. Is it
possible we could use the same mechanism used to reserve the PE load area
to reserve this range as well?




More information about the wine-devel mailing list