aboutsummaryrefslogtreecommitdiff
path: root/risu.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-04-01 17:03:09 +0000
committerPeter Maydell <peter.maydell@linaro.org>2011-04-01 17:03:09 +0000
commit5646d22ba6d198743b2a74b6187f9ef902ff4ddd (patch)
tree5fcbdd3b67b75eb3bb82232d62e8ce2bebcf98f0 /risu.h
parent54fc7502a9233e33ef0736b7a8ff4884de82d3b2 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/risu.h b/risu.h
index ea084c7..c209a22 100644
--- a/risu.h
+++ b/risu.h
@@ -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;