mirror of
https://github.com/reactos/reactos.git
synced 2024-11-27 05:23:33 +08:00
revert the KD_CONTEXT change
svn path=/trunk/; revision=43690
This commit is contained in:
parent
8e9a646867
commit
aa43316443
@ -139,7 +139,7 @@ KdReceivePacket(
|
||||
/* Check if we got a breakin */
|
||||
if (KdStatus == KDP_PACKET_RESEND)
|
||||
{
|
||||
KdContext->BreakInRequested = TRUE;
|
||||
KdContext->KdpControlCPending = TRUE;
|
||||
}
|
||||
return KdStatus;
|
||||
}
|
||||
|
@ -211,8 +211,8 @@ typedef struct _KD_PACKET
|
||||
//
|
||||
typedef struct _KD_CONTEXT
|
||||
{
|
||||
ULONG RetryCount;
|
||||
BOOLEAN BreakInRequested;
|
||||
ULONG KdpDefaultRetries;
|
||||
BOOLEAN KdpControlCPending;
|
||||
} KD_CONTEXT, *PKD_CONTEXT;
|
||||
|
||||
//
|
||||
|
@ -284,7 +284,7 @@ KdInitSystem(IN ULONG BootPhase,
|
||||
if (!KdpDebuggerStructuresInitialized)
|
||||
{
|
||||
/* Set the Debug Switch Routine and Retries*/
|
||||
KdpContext.RetryCount = 20;
|
||||
KdpContext.KdpDefaultRetries = 20;
|
||||
KiDebugSwitchRoutine = KdpSwitchProcessor;
|
||||
|
||||
/* Initialize the Time Slip DPC */
|
||||
|
@ -40,11 +40,11 @@ KdpPollBreakInWithPortLock(VOID)
|
||||
if (KdDebuggerEnabled)
|
||||
{
|
||||
/* Check if a CTRL-C is in the queue */
|
||||
if (KdpContext.BreakInRequested)
|
||||
if (KdpContext.KdpControlCPending)
|
||||
{
|
||||
/* Set it and prepare for break */
|
||||
DoBreak = TRUE;
|
||||
KdpContext.BreakInRequested = FALSE;
|
||||
KdpContext.KdpControlCPending = FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -83,12 +83,12 @@ KdPollBreakIn(VOID)
|
||||
Enable = KeDisableInterrupts();
|
||||
|
||||
/* Check if a CTRL-C is in the queue */
|
||||
if (KdpContext.BreakInRequested)
|
||||
if (KdpContext.KdpControlCPending)
|
||||
{
|
||||
/* Set it and prepare for break */
|
||||
KdpControlCPressed = TRUE;
|
||||
DoBreak = TRUE;
|
||||
KdpContext.BreakInRequested = FALSE;
|
||||
KdpContext.KdpControlCPending = FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user