mirror of
https://github.com/reactos/reactos.git
synced 2025-04-11 08:13:25 +00:00
[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:
parent
2995806a44
commit
76d35dde1d
1 changed files with 5 additions and 4 deletions
|
@ -208,7 +208,7 @@ KdInitSystem(
|
||||||
KdVersionBlock.Unused[0] = 0;
|
KdVersionBlock.Unused[0] = 0;
|
||||||
|
|
||||||
/* Link us in the KPCR */
|
/* Link us in the KPCR */
|
||||||
KeGetPcr()->KdVersionBlock = &KdVersionBlock;
|
KeGetPcr()->KdVersionBlock = &KdVersionBlock;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if we have a loader block */
|
/* Check if we have a loader block */
|
||||||
|
@ -445,10 +445,11 @@ KdInitSystem(
|
||||||
NextEntry = NextEntry->Flink;
|
NextEntry = NextEntry->Flink;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* Check for incoming breakin and break on symbol load if we have it */
|
/* Check for incoming break-in and break on symbol load
|
||||||
KdBreakAfterSymbolLoad = KdPollBreakIn();
|
* if requested, see ex/init.c!ExpLoadBootSymbols() */
|
||||||
|
KdBreakAfterSymbolLoad = KdPollBreakIn();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue