From d2856f1ad4c259e5766847c49acbb4e390731bd4 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Mon, 28 Apr 2008 00:32:32 +0000 Subject: Factorize code in translate.c (Glauber Costa) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4274 c046a42c-6fe2-441c-8c8c-71466251a162 --- exec-all.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'exec-all.h') diff --git a/exec-all.h b/exec-all.h index 47bdddd461..d98b91d3f3 100644 --- a/exec-all.h +++ b/exec-all.h @@ -67,6 +67,9 @@ extern int loglevel; int gen_intermediate_code(CPUState *env, struct TranslationBlock *tb); int gen_intermediate_code_pc(CPUState *env, struct TranslationBlock *tb); +void gen_pc_load(CPUState *env, struct TranslationBlock *tb, + unsigned long searched_pc, int pc_pos, void *puc); + unsigned long code_gen_max_block_size(void); void cpu_gen_init(void); int cpu_gen_code(CPUState *env, struct TranslationBlock *tb, -- cgit v1.2.3