Skip to content

Commit ee44fff

Browse files
committed
[NTOS:KD] Merge KdPollBreakIn() with kd64 version
1 parent d5d95a1 commit ee44fff

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

ntoskrnl/kd/kdmain.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -391,16 +391,6 @@ KdEnableDebugger(VOID)
391391
return STATUS_SUCCESS;
392392
}
393393

394-
/*
395-
* @implemented
396-
*/
397-
BOOLEAN
398-
NTAPI
399-
KdPollBreakIn(VOID)
400-
{
401-
return FALSE;
402-
}
403-
404394
/*
405395
* @unimplemented
406396
*/

ntoskrnl/kd64/kdlock.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ BOOLEAN
7474
NTAPI
7575
KdPollBreakIn(VOID)
7676
{
77+
#ifdef _WINKD_
7778
BOOLEAN DoBreak = FALSE, Enable;
7879

7980
/* First make sure that KD is enabled */
@@ -118,4 +119,7 @@ KdPollBreakIn(VOID)
118119

119120
/* Tell the caller to do a break */
120121
return DoBreak;
122+
#else
123+
return FALSE;
124+
#endif
121125
}

ntoskrnl/ntos.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ if(NOT _WINKD_)
398398
${REACTOS_SOURCE_DIR}/ntoskrnl/kd/kdmain.c
399399
${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/kdapi.c
400400
${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/kddata.c
401+
${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/kdlock.c
401402
${REACTOS_SOURCE_DIR}/ntoskrnl/kd64/kdprint.c)
402403

403404
else() # _WINKD_

0 commit comments

Comments
 (0)