diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-04-01 17:03:09 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2011-04-01 17:03:09 +0000 |
commit | 5646d22ba6d198743b2a74b6187f9ef902ff4ddd (patch) | |
tree | 5fcbdd3b67b75eb3bb82232d62e8ce2bebcf98f0 /risu.h | |
parent | 54fc7502a9233e33ef0736b7a8ff4884de82d3b2 (diff) |
Improve diagnostics if master and slave disagree on packet size
Improve risu's diagnostics if the master and slave disagree about the
size of the packets they are transmitting. This usually means that
the two sides disagreed about whether a load/store insn should undef,
so one side has reached a 'compare memory' request and the other is
doing 'compare registers'.
Diffstat (limited to 'risu.h')
-rw-r--r-- | risu.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ int master_connect(uint16_t port); int apprentice_connect(const char *hostname, uint16_t port); int send_data_pkt(int sock, void *pkt, int pktlen); -void recv_data_pkt(int sock, void *pkt, int pktlen); +int recv_data_pkt(int sock, void *pkt, int pktlen); void send_response_byte(int sock, int resp); extern uint32_t image_start_address; |