update for HEAD-2003091401
[reactos.git] / ntoskrnl / ke / catch.c
index 59a44d3..c4dc89a 100644 (file)
@@ -132,7 +132,7 @@ KiDispatchException(PEXCEPTION_RECORD ExceptionRecord,
 
          /* If that fails then bugcheck */
          DPRINT1("Could not terminate thread\n");
-         KeBugCheck(KMODE_EXCEPTION_NOT_HANDLED);
+         KEBUGCHECK(KMODE_EXCEPTION_NOT_HANDLED);
        }
       else
        {
@@ -147,7 +147,9 @@ KiDispatchException(PEXCEPTION_RECORD ExceptionRecord,
          if (Value != ExceptionContinueExecution ||
              0 != (ExceptionRecord->ExceptionFlags & EXCEPTION_NONCONTINUABLE))
            {
-              KeBugCheckWithTf(KMODE_EXCEPTION_NOT_HANDLED, 0, 0, 0, 0, Tf);         
+                 DbgPrint("ExceptionRecord->ExceptionAddress = 0x%x\n",
+                         ExceptionRecord->ExceptionAddress );
+              KEBUGCHECKWITHTF(KMODE_EXCEPTION_NOT_HANDLED, 0, 0, 0, 0, Tf);         
            }
        }
     }
@@ -157,18 +159,27 @@ KiDispatchException(PEXCEPTION_RECORD ExceptionRecord,
     }
 }
 
+/*
+ * @implemented
+ */
 VOID STDCALL
 ExRaiseAccessViolation (VOID)
 {
   ExRaiseStatus (STATUS_ACCESS_VIOLATION);
 }
 
+/*
+ * @implemented
+ */
 VOID STDCALL
 ExRaiseDatatypeMisalignment (VOID)
 {
   ExRaiseStatus (STATUS_DATATYPE_MISALIGNMENT);
 }
 
+/*
+ * @implemented
+ */
 VOID STDCALL
 ExRaiseStatus (IN NTSTATUS Status)
 {
@@ -199,6 +210,9 @@ NtRaiseException (IN PEXCEPTION_RECORD ExceptionRecord,
 }
 
 
+/*
+ * @implemented
+ */
 VOID STDCALL
 RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord)
 {