Christian Costa : krnl386.exe: Display FIXME instead of ERR for instructions that are not well implemented .
Alexandre Julliard
julliard at winehq.org
Thu Oct 25 13:50:45 CDT 2012
Module: wine
Branch: master
Commit: a42d4c4b95d04f479846f08beca0772edb4aec57
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a42d4c4b95d04f479846f08beca0772edb4aec57
Author: Christian Costa <titan.costa at gmail.com>
Date: Tue Oct 23 21:28:50 2012 +0200
krnl386.exe: Display FIXME instead of ERR for instructions that are not well implemented.
---
dlls/krnl386.exe16/instr.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/dlls/krnl386.exe16/instr.c b/dlls/krnl386.exe16/instr.c
index 59420ef..459885d 100644
--- a/dlls/krnl386.exe16/instr.c
+++ b/dlls/krnl386.exe16/instr.c
@@ -516,9 +516,9 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
switch (instr[2])
{
case 0xc0:
- ERR("mov %%eax, %%cr0 at 0x%08x, EAX=0x%08x\n",
- context->Eip,context->Eax );
- context->Eip += prefixlen+3;
+ FIXME("mov %%eax, %%cr0 at 0x%08x, EAX=0x%08x\n",
+ context->Eip,context->Eax );
+ context->Eip += prefixlen+3;
return ExceptionContinueExecution;
default:
break; /* Fallthrough to bad instruction handling */
@@ -539,12 +539,12 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
* bit 7: PGE Enable global pages
* 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->Eip += prefixlen+3;
return ExceptionContinueExecution;
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->Eip += prefixlen+3;
return ExceptionContinueExecution;
@@ -567,7 +567,7 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
context->Eip += prefixlen+3;
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 */
break;
case 0x23: /* mov %eax, %drX */
@@ -578,7 +578,7 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
context->Eip += prefixlen+3;
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 */
break;
case 0xa1: /* pop fs */
More information about the wine-cvs
mailing list