Add missing tcg_prologue_init() and tcg_ctx, remove code_gen_max_block_size. Fixes ./configure --disable-cpu-emulation. Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> --- target-i386/fake-exec.c | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/target-i386/fake-exec.c b/target-i386/fake-exec.c index dfa202d..e6f8363 100644 --- a/target-i386/fake-exec.c +++ b/target-i386/fake-exec.c @@ -12,22 +12,20 @@ */ #include "exec.h" #include "cpu.h" +#include "tcg.h" int code_copy_enabled = 0; CCTable cc_table[CC_OP_NB]; +TCGContext tcg_ctx; + void cpu_dump_statistics (CPUState *env, FILE*f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...), int flags) { } -unsigned long code_gen_max_block_size(void) -{ - return 32; -} - void cpu_gen_init(void) { } @@ -48,3 +46,7 @@ int cpu_x86_gen_code(CPUState *env, TranslationBlock *tb, int *gen_code_size_ptr void optimize_flags_init(void) { } + +void tcg_prologue_init(TCGContext *ctx) +{ +} -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html