Syscall thunks in ntoskrnl

Jacek Caban jacek at codeweavers.com
Fri May 24 05:40:19 CDT 2019


Hi Derek,

On 5/24/19 4:37 AM, Derek Lesho wrote:
> There are a couple ways of doing this, at first I manually put in the 
> assembly to see if it would work, and it did, but that's a clean 
> solution.  My current solution adds all Zw exports from ntdll.spec to 
> ntoskrnl.exe.spec and has winebuild generate the exports in 
> alphabetical order, but this solution requires that ntdll.spec and 
> ntoskrnl.exe.spec be kept in sync, which I'm not sure is a good idea.


Requiring ntdll.spec being in sync with ntoskrnl.exe.spec should be 
fine, I think they match on Windows. tools/make_specfiles could probably 
be adjusted to ensure that.


Jacek




More information about the wine-devel mailing list