Skip to content

Commit 5407e17

Browse files
committed
[NTOS:KD] Merge KdpStub with kd64 version
1 parent 6d88300 commit 5407e17

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

ntoskrnl/kd/kdmain.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -188,23 +188,6 @@ KdpTrap(IN PKTRAP_FRAME TrapFrame,
188188
return TRUE;
189189
}
190190

191-
BOOLEAN
192-
NTAPI
193-
KdpStub(IN PKTRAP_FRAME TrapFrame,
194-
IN PKEXCEPTION_FRAME ExceptionFrame,
195-
IN PEXCEPTION_RECORD ExceptionRecord,
196-
IN PCONTEXT ContextRecord,
197-
IN KPROCESSOR_MODE PreviousMode,
198-
IN BOOLEAN SecondChanceException)
199-
{
200-
return KdpTrap(TrapFrame,
201-
ExceptionFrame,
202-
ExceptionRecord,
203-
ContextRecord,
204-
PreviousMode,
205-
SecondChanceException);
206-
}
207-
208191
/* PUBLIC FUNCTIONS *********************************************************/
209192

210193
static PCHAR

ntoskrnl/kd64/kdtrap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ KdpTrap(IN PKTRAP_FRAME TrapFrame,
261261
/* Return TRUE or FALSE to caller */
262262
return Handled;
263263
}
264+
#endif
264265

265266
BOOLEAN
266267
NTAPI
@@ -312,7 +313,6 @@ KdpStub(IN PKTRAP_FRAME TrapFrame,
312313
return FALSE;
313314
}
314315
}
315-
#endif
316316

317317
BOOLEAN
318318
NTAPI

0 commit comments

Comments
 (0)