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
a42d4c4b
Commit
a42d4c4b
authored
Oct 23, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Oct 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
krnl386.exe: Display FIXME instead of ERR for instructions that are not well implemented.
parent
2978dbea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
instr.c
dlls/krnl386.exe16/instr.c
+7
-7
No files found.
dlls/krnl386.exe16/instr.c
View file @
a42d4c4b
...
@@ -516,9 +516,9 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
...
@@ -516,9 +516,9 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
switch
(
instr
[
2
])
switch
(
instr
[
2
])
{
{
case
0xc0
:
case
0xc0
:
ERR
(
"mov %%eax, %%cr0 at 0x%08x, EAX=0x%08x
\n
"
,
FIXME
(
"mov %%eax, %%cr0 at 0x%08x, EAX=0x%08x
\n
"
,
context
->
Eip
,
context
->
Eax
);
context
->
Eip
,
context
->
Eax
);
context
->
Eip
+=
prefixlen
+
3
;
context
->
Eip
+=
prefixlen
+
3
;
return
ExceptionContinueExecution
;
return
ExceptionContinueExecution
;
default:
default:
break
;
/* Fallthrough to bad instruction handling */
break
;
/* Fallthrough to bad instruction handling */
...
@@ -539,12 +539,12 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
...
@@ -539,12 +539,12 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
* bit 7: PGE Enable global pages
* bit 7: PGE Enable global pages
* bit 8: PCE Enable performance counters at IPL3
* bit 8: PCE Enable performance counters at IPL3
*/
*/
ERR
(
"mov %%cr4, %%eax at 0x%08x
\n
"
,
context
->
Eip
);
FIXME
(
"mov %%cr4, %%eax at 0x%08x
\n
"
,
context
->
Eip
);
context
->
Eax
=
0
;
context
->
Eax
=
0
;
context
->
Eip
+=
prefixlen
+
3
;
context
->
Eip
+=
prefixlen
+
3
;
return
ExceptionContinueExecution
;
return
ExceptionContinueExecution
;
case
0xc0
:
/* mov %cr0, %eax */
case
0xc0
:
/* mov %cr0, %eax */
ERR
(
"mov %%cr0, %%eax at 0x%08x
\n
"
,
context
->
Eip
);
FIXME
(
"mov %%cr0, %%eax at 0x%08x
\n
"
,
context
->
Eip
);
context
->
Eax
=
0x10
;
/* FIXME: set more bits ? */
context
->
Eax
=
0x10
;
/* FIXME: set more bits ? */
context
->
Eip
+=
prefixlen
+
3
;
context
->
Eip
+=
prefixlen
+
3
;
return
ExceptionContinueExecution
;
return
ExceptionContinueExecution
;
...
@@ -567,7 +567,7 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
...
@@ -567,7 +567,7 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
context
->
Eip
+=
prefixlen
+
3
;
context
->
Eip
+=
prefixlen
+
3
;
return
ExceptionContinueExecution
;
return
ExceptionContinueExecution
;
}
}
ERR
(
"Unsupported DR register, eip+2 is %02x
\n
"
,
instr
[
2
]);
FIXME
(
"Unsupported DR register, eip+2 is %02x
\n
"
,
instr
[
2
]);
/* fallthrough to illegal instruction */
/* fallthrough to illegal instruction */
break
;
break
;
case
0x23
:
/* mov %eax, %drX */
case
0x23
:
/* mov %eax, %drX */
...
@@ -578,7 +578,7 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
...
@@ -578,7 +578,7 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
context
->
Eip
+=
prefixlen
+
3
;
context
->
Eip
+=
prefixlen
+
3
;
return
ExceptionContinueExecution
;
return
ExceptionContinueExecution
;
}
}
ERR
(
"Unsupported DR register, eip+2 is %02x
\n
"
,
instr
[
2
]);
FIXME
(
"Unsupported DR register, eip+2 is %02x
\n
"
,
instr
[
2
]);
/* fallthrough to illegal instruction */
/* fallthrough to illegal instruction */
break
;
break
;
case
0xa1
:
/* pop fs */
case
0xa1
:
/* pop fs */
...
...
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