[PATCH v2 1/3] wow64cpu: Add stub dll.

Zebediah Figura z.figura12 at gmail.com
Wed Oct 28 09:57:12 CDT 2020


On 10/28/20 3:32 AM, Huw Davies wrote:
> On Tue, Oct 27, 2020 at 11:41:22PM -0500, Zebediah Figura wrote:
>> diff --git a/dlls/wow64cpu/wow64cpu.spec b/dlls/wow64cpu/wow64cpu.spec
>> new file mode 100644
>> index 00000000000..0ea2b4defc6
>> --- /dev/null
>> +++ b/dlls/wow64cpu/wow64cpu.spec
>> @@ -0,0 +1,25 @@
>> +# @ stub CpuFlushInstructionCache
>> +# @ stub CpuGetContext
>> +# @ stub CpuGetStackPointer
>> +# @ stub CpuInitializeStartupContext
>> +# @ stub CpuNotifyAffinityChange
>> +# @ stub CpuNotifyAfterFork
>> +# @ stub CpuNotifyBeforeFork
>> +# @ stub CpuNotifyDllLoad
>> +# @ stub CpuNotifyDllUnload
>> +# @ stub CpuPrepareForDebuggerAttach
>> +# @ stub CpuProcessDebugEvent
>> +# @ stub CpuProcessInit
>> +# @ stub CpuProcessTerm
>> +# @ stub CpuResetFloatingPoint
>> +# @ stub CpuResetToConsistentState
>> +# @ stub CpuSetContext
>> +# @ stub CpuSetInstructionPointer
>> +# @ stub CpuSetStackPointer
>> +# @ stub CpuSimulate
>> +# @ stub CpuSuspendLocalThread
>> +# @ stub CpuSuspendThread
>> +# @ stub CpuThreadInit
>> +# @ stub CpuThreadTerm
>> +# @ stub TurboDispatchJumpAddressEnd
>> +# @ stub TurboDispatchJumpAddressStart
> 
> Note that the Win10 version's exports have changed
> considerably, with a smaller number of BTCpu* functions
> replacing all of the Cpu* functions.
> 
> Also, ideally we'd only build a 64-bit version of this dll.

Hmm, I guess that seems plausible; in that case we'd have to map the DLL
file instead of actually loading it.

> 
> Huw.
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20201028/ea8af5b7/attachment.sig>


More information about the wine-devel mailing list