X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=ntoskrnl%2Fke%2Fcatch.c;fp=ntoskrnl%2Fke%2Fcatch.c;h=f399743dd14967784367e60db822ab8c853c3f43;hp=3da90b18dcc62a3fda7c8e01f1f5060078b6aad9;hb=7c0cf90e3b750f1f0dc83b2eec9e5c68a512c30f;hpb=ee8b63255465d8c28be3e7bd11628015708fc1ab diff --git a/ntoskrnl/ke/catch.c b/ntoskrnl/ke/catch.c index 3da90b1..f399743 100644 --- a/ntoskrnl/ke/catch.c +++ b/ntoskrnl/ke/catch.c @@ -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) {