Read to 0x7ffe02c0

Robert Reif reif at earthlink.net
Tue Aug 22 06:30:10 CDT 2006


Vitaliy Margolen wrote:

>Tuesday, August 22, 2006, 1:56:20 AM, Juan Lang wrote:
>  
>
>>--- Vitaliy Margolen <wine-devel at kievinfo.com> wrote:
>>    
>>
>>>0x7ffe0000 is KSHARED_USER_DATA and 0x2c0 is (not even sure how to get
>>>what is at this offset). You can see it's declaration in
>>>include/ddk/wdm.h
>>>      
>>>
>
>  
>
>>Thanks Vitaliy.  So this is supposed to be a boolean for some processor
>>feature?  I guess it doesn't matter what it contains, the problem is the
>>address isn't mapped.  Any idea what to do about that?  I notice your
>>patch[1] wasn't applied, but it doesn't apply cleanly anymore.
>>    
>>
>
>Because Wine already reserves it but doesn't allocates it. All you need to
>do is to change this: http://source.winehq.org/source/dlls/ntdll/thread.c#L218
>to look like:
>
>NtAllocateVirtualMemory( NtCurrentProcess(), &addr, 0, &size, MEM_RESERVE
> | MEM_COMMIT, PAGE_READONLY );
>
>
>Vitaliy.
>
>
>
>
>
>  
>
This issue came up a week ago: 
http://www.winehq.org/pipermail/wine-devel/2006-August/050182.html




More information about the wine-devel mailing list