FreeCalypso > hg > freecalypso-sw
diff rvinterf/include/localsock.h @ 266:cb833ff54d88
rvinterf: CLI2RVI_RESET_PACKET_RX command implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 06 Feb 2014 01:10:13 +0000 |
parents | 2f285f20d617 |
children | a5c8f48003cd |
line wrap: on
line diff
--- a/rvinterf/include/localsock.h Thu Feb 06 00:34:45 2014 +0000 +++ b/rvinterf/include/localsock.h Thu Feb 06 01:10:13 2014 +0000 @@ -21,6 +21,7 @@ #define CLI2RVI_WANT_MUXPROTO 0x01 #define CLI2RVI_PKT_TO_TARGET 0x02 #define CLI2RVI_RAWBYTES_TO_TARGET 0x03 +#define CLI2RVI_RESET_PACKET_RX 0x04 /* * The first two commands (CLI2RVI_WANT_RVTRACE and CLI2RVI_WANT_MUXPROTO) @@ -39,6 +40,10 @@ * packets exchanged between the host and the target, e.g., 0x12 for L1 traces * as defined in pktmux.h, for a total message length of 2 bytes. * + * The CLI2RVI_RESET_PACKET_RX opcode resets the "interests" previously set + * with CLI2RVI_WANT_RVTRACE and/or CLI2RVI_WANT_MUXPROTO. It is a "blanket" + * reset; the command message consists of just the opcode. + * * The last two commands (CLI2RVI_PKT_TO_TARGET and CLI2RVI_RAWBYTES_TO_TARGET) * cause data payload to be sent to the target serial port. Payload following * CLI2RVI_PKT_TO_TARGET (must not exceed MAX_PKT_TO_TARGET) is sent with the