[I8042PRT] Remove dead commented-out code; Allow sending ROS-specific commands to the kernel debugger since KD64 also support them.

[NTOS:MM] Remove an extra ')' in a DbgPrint() string.
This commit is contained in:
Hermès Bélusca-Maïto
2019-11-17 23:21:55 +01:00
parent a890fc64d1
commit ea6d427d10
3 changed files with 1 additions and 14 deletions
-11
View File
@@ -502,17 +502,6 @@ DriverEntry(
ULONG i;
NTSTATUS Status;
/* ROS Hack: ideally, we shouldn't have to initialize debug level this way,
but since the only way is to change it via KDBG, it's better to leave
it here too. */
#if 0
DbgSetDebugFilterState(
DPFLTR_I8042PRT_ID,
(1 << DPFLTR_ERROR_LEVEL) | (1 << DPFLTR_WARNING_LEVEL) |
(1 << DPFLTR_TRACE_LEVEL) /*| (1 << DPFLTR_INFO_LEVEL)*/ | DPFLTR_MASK,
TRUE);
#endif
Status = IoAllocateDriverObjectExtension(
DriverObject,
DriverObject,
-2
View File
@@ -866,7 +866,6 @@ i8042KbdInterruptService(
/* b - Bugcheck */
KeBugCheck(MANUALLY_INITIATED_CRASH);
}
#if defined(KDBG)
else
{
/* Send request to the kernel debugger.
@@ -879,7 +878,6 @@ i8042KbdInterruptService(
NULL,
KernelMode);
}
#endif
}
}
+1 -1
View File
@@ -1557,7 +1557,7 @@ MmDumpArmPfnDatabase(IN BOOLEAN StatusOnly)
// Pretty-print the page
//
if (!StatusOnly)
DbgPrint("0x%08p:\t%20s\t(%04d.%04d)\t[%16s - %16s])\n",
DbgPrint("0x%08p:\t%20s\t(%04d.%04d)\t[%16s - %16s]\n",
i << PAGE_SHIFT,
Consumer,
Pfn1->u3.e2.ReferenceCount,