diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2010-09-21 18:28:06 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2010-09-21 18:28:06 +0100 |
commit | f04091f94ae763af04876479c10bbc837efc6364 (patch) | |
tree | 78fdadecf18516e7c19e06d5304b7e2c659c70da /risu.h | |
parent | 204034940bb344061e261ea9688c5627afab1f70 (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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 */ |