[Bug 44530] 64-bit Sentinel HASP hardlock.sys kernel driver tries to access to DR7 ( not handled in ntoskrnl emulate_instruction)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 3 05:56:19 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=44530

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

recently there was some refactoring work on the 32-bit emulate_instruction to
fix bug 44636

0x0f 0x20-0x2f

20: MOV Rd,Cd
21: MOV Rd,Dd
22: MOV Cd,Rd
23: MOV Dd,Rd

https://source.winehq.org/git/wine.git/commitdiff/9f103a9e78e4e337026828f15cf835a5ac222bf9
("ntoskrnl.exe: More general implementation of the CRn and DRn registers.")

https://source.winehq.org/git/wine.git/commitdiff/0cbb5d0a146ebb2a80712cab7e2c1530edad9a6d
("ntoskrnl.exe: Add a helper function for accessing registers.")

Sadly the 64-bit emulate_instruction lacks it entirely.

https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/ntoskrnl.exe/instr.c#l595

$ wine --version
wine-3.3

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list