branch update for HEAD-2003091401
[reactos.git] / ntoskrnl / ke / catch.c
index 3da90b1..f399743 100644 (file)
@@ -143,7 +143,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);
 #endif /* LIBCAPTIVE */
        }
       else
@@ -159,10 +159,12 @@ KiDispatchException(PEXCEPTION_RECORD ExceptionRecord,
          if (Value != ExceptionContinueExecution ||
              0 != (ExceptionRecord->ExceptionFlags & EXCEPTION_NONCONTINUABLE))
            {
+                 DbgPrint("ExceptionRecord->ExceptionAddress = 0x%x\n",
+                         ExceptionRecord->ExceptionAddress );
 #ifndef LIBCAPTIVE
-              KeBugCheckWithTf(KMODE_EXCEPTION_NOT_HANDLED, 0, 0, 0, 0, Tf);         
+              KEBUGCHECKWITHTF(KMODE_EXCEPTION_NOT_HANDLED, 0, 0, 0, 0, Tf);         
 #else /* !LIBCAPTIVE */
-             KeBugCheck (0);         
+             KEBUGCHECK (0);         
 #endif /* LIBCAPTIVE */
            }
        }
@@ -179,12 +181,18 @@ KiDispatchException(PEXCEPTION_RECORD ExceptionRecord,
 
 #ifndef LIBCAPTIVE
 
+/*
+ * @implemented
+ */
 VOID STDCALL
 ExRaiseAccessViolation (VOID)
 {
   ExRaiseStatus (STATUS_ACCESS_VIOLATION);
 }
 
+/*
+ * @implemented
+ */
 VOID STDCALL
 ExRaiseDatatypeMisalignment (VOID)
 {
@@ -193,6 +201,9 @@ ExRaiseDatatypeMisalignment (VOID)
 
 #endif /* LIBCAPTIVE */
 
+/*
+ * @implemented
+ */
 VOID STDCALL
 ExRaiseStatus (IN NTSTATUS Status)
 {
@@ -226,6 +237,9 @@ NtRaiseException (IN PEXCEPTION_RECORD ExceptionRecord,
 }
 
 
+/*
+ * @implemented
+ */
 VOID STDCALL
 RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord)
 {