Skip to content

Commit 38b49c4

Browse files
committed
[NTOS:KD] Merge KdPowerTransition/KdChangeOption with kd64 version
1 parent b0288cc commit 38b49c4

File tree

3 files changed

+2
-29
lines changed

3 files changed

+2
-29
lines changed

ntoskrnl/kd/kdmain.c

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

394-
/*
395-
* @unimplemented
396-
*/
397-
NTSTATUS
398-
NTAPI
399-
KdPowerTransition(ULONG PowerState)
400-
{
401-
UNIMPLEMENTED;
402-
return STATUS_NOT_IMPLEMENTED;
403-
}
404-
405-
/*
406-
* @unimplemented
407-
*/
408-
NTSTATUS
409-
NTAPI
410-
KdChangeOption(IN KD_OPTION Option,
411-
IN ULONG InBufferLength OPTIONAL,
412-
IN PVOID InBuffer,
413-
IN ULONG OutBufferLength OPTIONAL,
414-
OUT PVOID OutBuffer,
415-
OUT PULONG OutBufferRequiredLength OPTIONAL)
416-
{
417-
UNIMPLEMENTED;
418-
return STATUS_NOT_IMPLEMENTED;
419-
}
420-
421394
/*
422395
* @unimplemented
423396
*/

ntoskrnl/kd64/kdapi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2205,6 +2205,7 @@ KdSystemDebugControl(
22052205
DbgPrint("KdSystemDebugControl is unimplemented!\n");
22062206
return STATUS_NOT_IMPLEMENTED;
22072207
}
2208+
#endif
22082209

22092210
/*
22102211
* @implemented
@@ -2291,6 +2292,7 @@ KdPowerTransition(IN DEVICE_POWER_STATE NewState)
22912292
}
22922293
}
22932294

2295+
#ifdef _WINKD_
22942296
/*
22952297
* @implemented
22962298
*/

ntoskrnl/kd64/kddata.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ PKDEBUG_SWITCH_ROUTINE KiDebugSwitchRoutine;
7979
//
8080
// Debugger Configuration Settings
8181
//
82-
#ifdef _WINKD_
8382
BOOLEAN KdBreakAfterSymbolLoad;
8483
BOOLEAN KdPitchDebugger;
8584
BOOLEAN KdDebuggerNotPresent;
@@ -92,7 +91,6 @@ BOOLEAN KdpDebuggerStructuresInitialized;
9291
BOOLEAN KdEnteredDebugger;
9392
ULONG KdDisableCount;
9493
LARGE_INTEGER KdPerformanceCounterRate;
95-
#endif
9694

9795
//
9896
// Breakpoint Data

0 commit comments

Comments
 (0)