{
switch ((ULONG_PTR)Buffer1)
{
- case ManualBugCheck:
- KeBugCheck(MANUALLY_INITIATED_CRASH);
- break;
-
case DumpAllThreads:
PspDumpThreads(TRUE);
break;
PspDumpThreads(FALSE);
break;
- case EnterDebugger:
- DbgBreakPoint();
- break;
-
case KdSpare3:
MmDumpArmPfnDatabase(FALSE);
break;
KeRosDumpStackFrames((PULONG)Buffer1, Buffer1Length);
break;
}
-#endif
+
+#if KDBG
+ /* Register KDBG CLI callback */
+ case 'RbdK':
+ {
+ Result = KdbRegisterCliCallback(Buffer1, Buffer1Length);
+ break;
+ }
+#endif /* KDBG */
+#endif /* DBG */
default:
- HalDisplayString ("Invalid debug service call!\n");
+ DPRINT1("Invalid debug service call!\n");
+ HalDisplayString("Invalid debug service call!\r\n");
break;
}
/* Check if this is an assertion failure */
if (ExceptionRecord->ExceptionCode == STATUS_ASSERTION_FAILURE)
{
- /* Warn about it */
- DbgPrint("\n!!! Assertion Failure at Address 0x%p !!!\n\n",
- (PVOID)Context->Eip);
-
- /* Bump EIP to the instruction following the int 2C and return */
+ /* Bump EIP to the instruction following the int 2C */
Context->Eip += 2;
- return TRUE;
}
#endif