RFC: KUSER_SHARED_DATA update patch to fix bug 29168

Kornél Pál kornelpal at gmail.com
Wed Mar 21 15:18:44 CDT 2012


On 3/21/2012 9:11 PM, Joey Yandle wrote:
>>
>> If user_shared_data was written by wineserver and mapped read-only to
>> wine processes there was no need to create separate threads in wine
>> processes. As I know Windows is sharing this structure and is updating
>> it in kernel mode so wine behavior was similar if was updated by
>> wineserver.
>>
>
> Agreed, this is the ideal solution.  I'm just not sure how to do so
> while maintaining the virtual address mapping required for user_shared_data.

MapViewOfFile (and the underlying NtMapViewOfSection) has support for 
specifying the address to map it.

Thanks.

Kornel



More information about the wine-devel mailing list