kvm: testsuite: add apic tests
[qemu-kvm/fedora.git] / target-i386 / fake-exec.c
blob737286dce3af4e5ef4ede7afc1b1f6d0717be35a
1 /*
2 * fake-exec.c
4 * This is a file for stub functions so that compilation is possible
5 * when TCG CPU emulation is disabled during compilation.
7 * Copyright 2007 IBM Corporation.
8 * Added by & Authors:
9 * Jerone Young <jyoung5@us.ibm.com>
10 * This work is licensed under the GNU GPL licence version 2 or later.
13 #include "exec.h"
14 #include "cpu.h"
16 int code_copy_enabled = 0;
18 CCTable cc_table[CC_OP_NB];
20 void cpu_dump_statistics (CPUState *env, FILE*f,
21 int (*cpu_fprintf)(FILE *f, const char *fmt, ...),
22 int flags)
26 unsigned long code_gen_max_block_size(void)
28 return 32;
31 void cpu_gen_init(void)
35 int cpu_restore_state(TranslationBlock *tb,
36 CPUState *env, unsigned long searched_pc,
37 void *puc)
40 return 0;
43 int cpu_x86_gen_code(CPUState *env, TranslationBlock *tb, int *gen_code_size_ptr)
45 return 0;
48 void flush_icache_range(unsigned long start, unsigned long stop)
52 void optimize_flags_init(void)