Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e729dba5
Commit
e729dba5
authored
Jan 02, 2015
by
Stefan Leichter
Committed by
Alexandre Julliard
Jan 05, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Emulate instruction mov eax,cr4.
parent
f592eea5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
instr.c
dlls/ntoskrnl.exe/instr.c
+5
-0
No files found.
dlls/ntoskrnl.exe/instr.c
View file @
e729dba5
...
@@ -319,9 +319,14 @@ static DWORD emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
...
@@ -319,9 +319,14 @@ static DWORD emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
TRACE
(
"mov eax,cr0 at 0x%08x, EAX=0x%08x
\n
"
,
context
->
Eip
,
context
->
Eax
);
TRACE
(
"mov eax,cr0 at 0x%08x, EAX=0x%08x
\n
"
,
context
->
Eip
,
context
->
Eax
);
context
->
Eip
+=
prefixlen
+
3
;
context
->
Eip
+=
prefixlen
+
3
;
return
ExceptionContinueExecution
;
return
ExceptionContinueExecution
;
case
0xe0
:
TRACE
(
"mov eax,cr4 at 0x%08x, EAX=0x%08x
\n
"
,
context
->
Eip
,
context
->
Eax
);
context
->
Eip
+=
prefixlen
+
3
;
return
ExceptionContinueExecution
;
default:
default:
break
;
/*fallthrough to bad instruction handling */
break
;
/*fallthrough to bad instruction handling */
}
}
ERR
(
"Unsupported EAX -> CR register, eip+2 is %02x
\n
"
,
instr
[
2
]);
break
;
/*fallthrough to bad instruction handling */
break
;
/*fallthrough to bad instruction handling */
case
0x20
:
/* mov crX, eax */
case
0x20
:
/* mov crX, eax */
switch
(
instr
[
2
])
switch
(
instr
[
2
])
...
...
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