[NTOS:KD] Improve the display of the output providers' signons.

This commit is contained in:
Hermès Bélusca-Maïto 2023-03-14 18:50:30 +01:00
parent a8bcc8d7a1
commit 422621622d
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 9 additions and 3 deletions

View file

@ -229,7 +229,7 @@ KdpDebugLogInit(
/* Register for later BootPhase 2 reinitialization */
DispatchTable->KdpInitRoutine = KdpDebugLogInit;
HalDisplayString("\r\n File log debugging enabled\r\n\r\n");
HalDisplayString(" File log debugging enabled\r\n");
}
else if (BootPhase >= 2)
{
@ -413,7 +413,7 @@ KdpSerialInit(
}
else if (BootPhase == 1)
{
HalDisplayString("\r\n Serial debugging enabled\r\n\r\n");
HalDisplayString(" Serial debugging enabled\r\n");
}
return STATUS_SUCCESS;
@ -526,7 +526,7 @@ KdpScreenInit(
/* Take control of the display */
KdpScreenAcquire();
HalDisplayString("\r\n Screen debugging enabled\r\n\r\n");
HalDisplayString(" Screen debugging enabled\r\n");
}
return STATUS_SUCCESS;

View file

@ -305,6 +305,9 @@ KdDebuggerInitialize1(
BOOLEAN Success = FALSE;
BOOLEAN ReinitForPhase2 = FALSE;
/* Make space for the displayed providers' signons */
HalDisplayString("\r\n");
/* Call the registered providers */
for (CurrentEntry = KdProviders.Flink;
CurrentEntry != &KdProviders; NOTHING)
@ -329,6 +332,9 @@ KdDebuggerInitialize1(
ReinitForPhase2 = (ReinitForPhase2 || CurrentTable->KdpInitRoutine);
}
/* Make space for the displayed providers' signons */
HalDisplayString("\r\n");
NtGlobalFlag |= FLG_STOP_ON_EXCEPTION;
/* If we don't need to reinitialize providers for Phase 2, we are done */