mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[NTOSKRNL]
Handle some ros specific codes in KD64 version of KdSystemDebugControl (tab-k, ...) svn path=/trunk/; revision=54087
This commit is contained in:
parent
8620ccc0da
commit
2381ccd2f0
1 changed files with 20 additions and 0 deletions
|
@ -1948,6 +1948,26 @@ KdSystemDebugControl(IN SYSDBG_COMMAND Command,
|
|||
IN OUT PULONG ReturnLength,
|
||||
IN KPROCESSOR_MODE PreviousMode)
|
||||
{
|
||||
/* handle sime internal commands */
|
||||
if (Command == ' soR')
|
||||
{
|
||||
switch ((ULONG_PTR)InputBuffer)
|
||||
{
|
||||
case 0x30: // ManualBugCheck:
|
||||
KeBugCheck(MANUALLY_INITIATED_CRASH);
|
||||
break;
|
||||
|
||||
case 0x25: // EnterDebugger:
|
||||
DbgBreakPoint();
|
||||
break;
|
||||
|
||||
case 0x24:
|
||||
MmDumpArmPfnDatabase(FALSE);
|
||||
break;
|
||||
}
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/* Local kernel debugging is not yet supported */
|
||||
DbgPrint("KdSystemDebugControl is unimplemented!\n");
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
|
|
Loading…
Reference in a new issue