MessageData->Length);
}
- // FIXME: this looks wrong, but makes dbgprints work
- if (PacketType == PACKET_TYPE_KD_DEBUG_IO)
- {
- CurrentPacketId |= SYNC_PACKET_ID;
- }
-
/* Set the packet id */
Packet.PacketId = CurrentPacketId;
if (PacketType == PACKET_TYPE_KD_ACKNOWLEDGE)
{
/* Remote acknowledges the last packet */
+ CurrentPacketId ^= 1;
return KdPacketReceived;
}
/* That's not what we were waiting for, start over. */
/* Acknowledge the received packet */
KdpSendControlPacket(PACKET_TYPE_KD_ACKNOWLEDGE, Packet.PacketId);
- CurrentPacketId ^= 1;
//FrLdrDbgPrint("KdReceivePacket - all ok\n");