Author: tkreuzer
Date: Thu Nov 5 13:18:16 2009
New Revision: 43972
URL:
http://svn.reactos.org/svn/reactos?rev=43972&view=rev
Log:
[KDCOM] add a few dbgprints
Modified:
branches/ros-amd64-bringup/reactos/drivers/base/kddll/kddll.c
Modified: branches/ros-amd64-bringup/reactos/drivers/base/kddll/kddll.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/drive…
==============================================================================
--- branches/ros-amd64-bringup/reactos/drivers/base/kddll/kddll.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/drivers/base/kddll/kddll.c [iso-8859-1] Thu Nov 5
13:18:16 2009
@@ -150,6 +150,7 @@
if (KdStatus != KDP_PACKET_RECEIVED)
{
/* Didn't receive a PacketType. */
+ KDDBGPRINT("KdReceivePacket - Didn't receive a
PacketType.\n");
return KdStatus;
}
@@ -157,6 +158,7 @@
if (Packet.PacketLeader == CONTROL_PACKET_LEADER &&
Packet.PacketType == PACKET_TYPE_KD_RESEND)
{
+ KDDBGPRINT("KdReceivePacket - PACKET_TYPE_KD_RESEND.\n");
return KDP_PACKET_RESEND;
}
@@ -165,6 +167,7 @@
if (KdStatus != KDP_PACKET_RECEIVED)
{
/* Didn't receive ByteCount. */
+ KDDBGPRINT("KdReceivePacket - Didn't receive ByteCount.\n");
return KdStatus;
}
@@ -173,6 +176,7 @@
if (KdStatus != KDP_PACKET_RECEIVED)
{
/* Didn't receive PacketId. */
+ KDDBGPRINT("KdReceivePacket - Didn't receive PacketId.\n");
return KdStatus;
}
@@ -189,6 +193,7 @@
if (KdStatus != KDP_PACKET_RECEIVED)
{
/* Didn't receive Checksum. */
+ KDDBGPRINT("KdReceivePacket - Didn't receive Checksum.\n");
return KdStatus;
}
@@ -281,7 +286,7 @@
/* Do we have data? */
if (MessageData->Length)
{
- KDDBGPRINT("KdReceivePacket - got data\n");
+ KDDBGPRINT("KdReceivePacket - 0x%lx bytes data\n",
*DataLength);
/* Receive the message data */
KdStatus = KdpReceiveBuffer(MessageData->Buffer,
@@ -325,6 +330,7 @@
if (Packet.PacketId != RemotePacketId)
{
/* Continue with next packet */
+ KDDBGPRINT("KdReceivePacket - Wrong PacketId.\n");
continue;
}