17 if ((
ch >=
'0') && (
ch <=
'9'))
20 if ((
ch >=
'a') && (
ch <=
'f'))
21 return (
ch -
'a' + 10);
23 if ((
ch >=
'A') && (
ch <=
'F'))
24 return (
ch -
'A' + 10);
36 CHAR CheckSum, ReceivedCheckSum;
43 }
while (
Byte !=
'$');
87 if (ReceivedCheckSum != CheckSum)
104 KdContext->KdpControlCPending =
TRUE;
KDSTATUS NTAPI gdb_receive_packet(_Inout_ PKD_CONTEXT KdContext)
KDP_STATUS NTAPI KdpReceiveByte(OUT PUCHAR OutByte)
KDP_STATUS NTAPI KdpPollByte(OUT PUCHAR OutByte)
VOID NTAPI KdpSendByte(IN UCHAR Byte)
#define KdPacketNeedsResend