From 9336919fec35a5cdadc7623f283aef61049b4b49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Thu, 9 Apr 2026 22:00:40 +0200 Subject: [PATCH] [NTOS:KD64] Improve the ARC Paths output in the KdpPrintBanner() Instead of mixing the paths order (ArcBoot, NtHal, ArcHal, NtBoot), show them in a meaningful order: ArcHal, NtHal, ArcBoot, NtBoot. - The `ArcHalDeviceName` + `NtHalPathName` is the path to the system loader started by the firmware (and the HAL in old non-x86 Windows versions). - The `ArcBootDeviceName` + `NtBootPathName` is the operating system boot partition and directory ("system root"). --- ntoskrnl/kd64/kdinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ntoskrnl/kd64/kdinit.c b/ntoskrnl/kd64/kdinit.c index c371d1526b2..9b5f2d3b6e1 100644 --- a/ntoskrnl/kd64/kdinit.c +++ b/ntoskrnl/kd64/kdinit.c @@ -99,8 +99,8 @@ KdpPrintBanner(VOID) { DPRINT1("Command Line: %s\n", KeLoaderBlock->LoadOptions); DPRINT1("ARC Paths: %s %s %s %s\n", - KeLoaderBlock->ArcBootDeviceName, KeLoaderBlock->NtHalPathName, - KeLoaderBlock->ArcHalDeviceName, KeLoaderBlock->NtBootPathName); + KeLoaderBlock->ArcHalDeviceName, KeLoaderBlock->NtHalPathName, + KeLoaderBlock->ArcBootDeviceName, KeLoaderBlock->NtBootPathName); } }