Author: aandrejevic
Date: Thu Mar 26 01:57:35 2015
New Revision: 66899

URL: http://svn.reactos.org/svn/reactos?rev=66899&view=rev
Log:
[NTVDM]
Fix a bug in CpuExceptionFilter.


Modified:
    trunk/reactos/subsystems/mvdm/ntvdm/cpu/cpu.c

Modified: trunk/reactos/subsystems/mvdm/ntvdm/cpu/cpu.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/cpu/cpu.c?rev=66899&r1=66898&r2=66899&view=diff
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/cpu/cpu.c       [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/cpu/cpu.c       [iso-8859-1] Thu Mar 26 
01:57:35 2015
@@ -147,9 +147,8 @@
             /* Call the memory handler */
             MemExceptionHandler((ULONG)PHYS_TO_REAL(Address), Writing);
 
-            // /* Continue executing the exception handler */
-            // return EXCEPTION_EXECUTE_HANDLER;
-            return EXCEPTION_CONTINUE_EXECUTION;
+            /* The execution of the CPU opcode handler MUST NOT continue */
+            return EXCEPTION_EXECUTE_HANDLER;
         }
 
         default:
@@ -186,7 +185,7 @@
         }
         _SEH2_EXCEPT(CpuExceptionFilter(_SEH2_GetExceptionInformation()))
         {
-            DPRINT1("VDM exception handler called\n");
+            DPRINT("VDM exception handler called\n");
         }
         _SEH2_END;
     }


Reply via email to