mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 20:18:22 +00:00
[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:
parent
a890fc64d1
commit
ea6d427d10
3 changed files with 1 additions and 14 deletions
|
@ -502,17 +502,6 @@ DriverEntry(
|
||||||
ULONG i;
|
ULONG i;
|
||||||
NTSTATUS Status;
|
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(
|
Status = IoAllocateDriverObjectExtension(
|
||||||
DriverObject,
|
DriverObject,
|
||||||
DriverObject,
|
DriverObject,
|
||||||
|
|
|
@ -866,7 +866,6 @@ i8042KbdInterruptService(
|
||||||
/* b - Bugcheck */
|
/* b - Bugcheck */
|
||||||
KeBugCheck(MANUALLY_INITIATED_CRASH);
|
KeBugCheck(MANUALLY_INITIATED_CRASH);
|
||||||
}
|
}
|
||||||
#if defined(KDBG)
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Send request to the kernel debugger.
|
/* Send request to the kernel debugger.
|
||||||
|
@ -879,7 +878,6 @@ i8042KbdInterruptService(
|
||||||
NULL,
|
NULL,
|
||||||
KernelMode);
|
KernelMode);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1557,7 +1557,7 @@ MmDumpArmPfnDatabase(IN BOOLEAN StatusOnly)
|
||||||
// Pretty-print the page
|
// Pretty-print the page
|
||||||
//
|
//
|
||||||
if (!StatusOnly)
|
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,
|
i << PAGE_SHIFT,
|
||||||
Consumer,
|
Consumer,
|
||||||
Pfn1->u3.e2.ReferenceCount,
|
Pfn1->u3.e2.ReferenceCount,
|
||||||
|
|
Loading…
Reference in a new issue