https://git.reactos.org/?p=reactos.git;a=commitdiff;h=422621622d45ef63ee925…
commit 422621622d45ef63ee9258e83fd8badbf79f1aaf
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Tue Mar 14 18:50:30 2023 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Mar 18 03:42:32 2023 +0100
[NTOS:KD] Improve the display of the output providers' signons.
---
ntoskrnl/kd/kdio.c | 6 +++---
ntoskrnl/kd/kdmain.c | 6 ++++++
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/ntoskrnl/kd/kdio.c b/ntoskrnl/kd/kdio.c
index 396c0432317..be47e04c1c7 100644
--- a/ntoskrnl/kd/kdio.c
+++ b/ntoskrnl/kd/kdio.c
@@ -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;
diff --git a/ntoskrnl/kd/kdmain.c b/ntoskrnl/kd/kdmain.c
index abd358da0fc..6281f43ab8f 100644
--- a/ntoskrnl/kd/kdmain.c
+++ b/ntoskrnl/kd/kdmain.c
@@ -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 */