HdlspBugCheckProcessing
VOID __stdcall HdlspBugCheckProcessing(){
__int64 v0;
UINT8 *v1;
char InputBuffer[80];
if( HdlspGetLine(InputBuffer, 0x50u) )
{
if( !stricmp(InputBuffer, "?") || !stricmp(InputBuffer, "help") )
{
HdlspSendStringAtBaud((UINT8 *)"\r\n");
HdlspSendStringAtBaud((UINT8 *)"d Display all log entries, paging is on.\r\n");
HdlspSendStringAtBaud((UINT8 *)"help Display this list.\r\n");
HdlspSendStringAtBaud((UINT8 *)"restart Restart the system immediately.\r\n");
HdlspSendStringAtBaud((UINT8 *)"? Display this list.\r\n");
v1 = (UINT8 *)"\r\n";
}
else
{
if( !stricmp(InputBuffer, "d") )
{
HdlspProcessDumpCommand(1u);
LABEL_13:
HdlspSendStringAtBaud((UINT8 *)"\n\r!SAC>");
return;
}
if( !stricmp(InputBuffer, "restart") )
{
v0 = 10i64;
do
{
KeStallExecutionProcessor(0x186A0u);
--v0;
}
while( v0 );
HalReturnToFirmware(HalRebootRoutine);
}
v1 = (UINT8 *)"Type ? or Help for a list of commands.\r\n";
}
HdlspSendStringAtBaud(v1);
goto LABEL_13;
}
}Referenced by:
HdlspDispatch