Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0462858e
Commit
0462858e
authored
Feb 17, 2004
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 17, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support emulation of the privileged mov dr7,eax instruction.
parent
fabcd278
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
instr.c
dlls/kernel/instr.c
+14
-0
No files found.
dlls/kernel/instr.c
View file @
0462858e
...
...
@@ -559,6 +559,20 @@ DWORD INSTR_EmulateInstruction( EXCEPTION_RECORD *rec, CONTEXT86 *context )
}
/* fallthrough to illegal instruction */
break
;
case
0x21
:
/* mov drX, eax */
switch
(
instr
[
2
])
{
case
0xf8
:
/* mov dr7, eax */
TRACE
(
"mov dr7,eax at 0x%08lx
\n
"
,
context
->
Eip
);
context
->
Eax
=
0x400
;
context
->
Eip
+=
prefixlen
+
3
;
return
ExceptionContinueExecution
;
default:
/* fallthrough to illegal instruction */
ERR
(
"Unknown DR register, eip+2 is %02x
\n
"
,
instr
[
2
]);
break
;
}
/* fallthrough to illegal instruction */
break
;
case
0xa1
:
/* pop fs */
{
WORD
seg
=
*
(
WORD
*
)
get_stack
(
context
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment