[NTOS:KD64] KdInitSystem(): Poll for break-in on symbol load *ONLY* at boot-time (#7539)

I.e. when LoaderBlock != NULL and we have loaded the initial hal and
ntoskrnl symbols. KdBreakAfterSymbolLoad is then checked for when the
other boot symbols have been loaded by ex/init.c!ExpLoadBootSymbols(),
invoked by ExpInitializeExecutive().
This commit is contained in:
Hermès Bélusca-Maïto 2024-11-28 19:42:06 +01:00
parent 2995806a44
commit 76d35dde1d
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -208,7 +208,7 @@ KdInitSystem(
KdVersionBlock.Unused[0] = 0;
/* Link us in the KPCR */
KeGetPcr()->KdVersionBlock = &KdVersionBlock;
KeGetPcr()->KdVersionBlock = &KdVersionBlock;
}
/* Check if we have a loader block */
@ -445,10 +445,11 @@ KdInitSystem(
NextEntry = NextEntry->Flink;
i++;
}
}
/* Check for incoming breakin and break on symbol load if we have it */
KdBreakAfterSymbolLoad = KdPollBreakIn();
/* Check for incoming break-in and break on symbol load
* if requested, see ex/init.c!ExpLoadBootSymbols() */
KdBreakAfterSymbolLoad = KdPollBreakIn();
}
}
else
{