[NTOS]: Remove checks for VDM alert during GPF. This is a Windows-specific hack for...
authorSir Richard <sir_richard@svn.reactos.org>
Thu, 28 Jan 2010 16:01:43 +0000 (16:01 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Thu, 28 Jan 2010 16:01:43 +0000 (16:01 +0000)
svn path=/trunk/; revision=45298

reactos/ntoskrnl/ke/i386/traphdlr.c

index b54a398..02d397f 100644 (file)
@@ -967,14 +967,6 @@ KiTrap0DHandler(IN PKTRAP_FRAME TrapFrame,
                                  TrapFrame);
     }
 
-    /* Check for custom VDM trap handler */
-    if (KeGetPcr()->VdmAlert)
-    {
-        /* Not implemented */
-        UNIMPLEMENTED;
-        while (TRUE);
-    }
-    
     /* 
      * Check for a fault during checking of the user instruction.
      *
@@ -1086,14 +1078,6 @@ KiTrap0EHandler(IN PKTRAP_FRAME TrapFrame)
     /* Save trap frame */
     KiEnterTrap(TrapFrame);
 
-    /* Check for custom VDM trap handler */
-    if (KeGetPcr()->VdmAlert)
-    {
-        /* Not implemented */
-        UNIMPLEMENTED;
-        while (TRUE);
-    }
-
     /* Check if this is the base frame */
     Thread = KeGetCurrentThread();
     if (KeGetTrapFrame(Thread) != TrapFrame)