aboutsummaryrefslogtreecommitdiff
path: root/risu.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2010-09-21 18:28:06 +0100
committerPeter Maydell <peter.maydell@linaro.org>2010-09-21 18:28:06 +0100
commitf04091f94ae763af04876479c10bbc837efc6364 (patch)
tree78fdadecf18516e7c19e06d5304b7e2c659c70da /risu.h
parent204034940bb344061e261ea9688c5627afab1f70 (diff)
Implement image loading and enough of x86 to work with a simple static test image.
Diffstat (limited to 'risu.h')
-rw-r--r--risu.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/risu.h b/risu.h
index 8964e30..a594cc4 100644
--- a/risu.h
+++ b/risu.h
@@ -12,7 +12,7 @@ int send_data_pkt(int sock, void *pkt, int pktlen);
void recv_data_pkt(int sock, void *pkt, int pktlen);
void send_response_byte(int sock, int resp);
-
+extern uint32_t image_start_address;
/* Interface provided by CPU-specific code: */
@@ -36,4 +36,8 @@ int recv_and_compare_register_info(int sock, void *uc);
*/
int report_match_status(void);
+/* Move the PC past this faulting insn by adjusting ucontext
+ */
+void advance_pc(void *uc);
+
#endif /* RISU_H */