Author: tkreuzer Date: Sat Feb 8 14:57:11 2014 New Revision: 62037
URL: http://svn.reactos.org/svn/reactos?rev=62037&view=rev Log: [NTOSKRNL] Stop spamming "Received Unhandled API 315f", when using recent versions of WinDbg.
Modified: trunk/reactos/ntoskrnl/kd64/kdapi.c
Modified: trunk/reactos/ntoskrnl/kd64/kdapi.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kd64/kdapi.c?rev=6... ============================================================================== --- trunk/reactos/ntoskrnl/kd64/kdapi.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/kd64/kdapi.c [iso-8859-1] Sat Feb 8 14:57:11 2014 @@ -1354,6 +1354,19 @@ KdpNotSupported(&ManipulateState); break;
+ case 0x315f: // This one is unknown, but used by WinDbg, keep silent! + + /* Setup an empty message, with failure */ + Data.Length = 0; + ManipulateState.ReturnStatus = STATUS_UNSUCCESSFUL; + + /* Send it */ + KdSendPacket(PACKET_TYPE_KD_STATE_MANIPULATE, + &Header, + &Data, + &KdpContext); + break; + /* Unsupported Message */ default:
@@ -1739,7 +1752,7 @@ { /* Queue a DPC for the time slip */ InterlockedIncrement(&KdpTimeSlipPending); - KeInsertQueueDpc(&KdpTimeSlipDpc, NULL, NULL); + KeInsertQueueDpc(&KdpTimeSlipDpc, NULL, NULL); // FIXME: this can trigger context switches! } }