summaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-10 02:41:15 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-10 02:41:15 +0000
commit2ba1eeb62c29d23238b95dc7e9ade3444b49f0a1 (patch)
tree5aff38fd46aa4f7ac75447eddf432a6ccb244cc1 /tcg/tcg.h
parent41df841110c6102ee20faae9a172e69a5d4a7f2d (diff)
downloadqemu-2ba1eeb62c29d23238b95dc7e9ade3444b49f0a1.tar.gz
Fix TCG relocation bug (exposed by fault after brcond op). Add FIXME for
annother potential bug. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3968 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 11e9d8aca6..11ffb0cd46 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -257,8 +257,7 @@ void tcg_context_init(TCGContext *s);
void tcg_func_start(TCGContext *s);
int dyngen_code(TCGContext *s, uint8_t *gen_code_buf);
-int dyngen_code_search_pc(TCGContext *s, uint8_t *gen_code_buf,
- const uint8_t *searched_pc);
+int dyngen_code_search_pc(TCGContext *s, long offset);
void tcg_set_frame(TCGContext *s, int reg,
tcg_target_long start, tcg_target_long size);