ntoskrnl.exe: Emulate instruction mov eax,cr4.

This commit is contained in:
Stefan Leichter 2015-01-02 12:44:47 +01:00 committed by Alexandre Julliard
parent f592eea591
commit e729dba55d
1 changed files with 5 additions and 0 deletions

View File

@ -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 );
context->Eip += prefixlen+3;
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:
break; /*fallthrough to bad instruction handling */
}
ERR("Unsupported EAX -> CR register, eip+2 is %02x\n", instr[2]);
break; /*fallthrough to bad instruction handling */
case 0x20: /* mov crX, eax */
switch (instr[2])