2 * fake-exec.c for ia64.
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.
9 * Jerone Young <jyoung5@us.ibm.com>
11 * Copyright 2008 Intel Corporation.
12 * Added by Xiantao Zhang <xiantao.zhang@intel.com>
14 * This work is licensed under the GNU GPL licence version 2 or later.
20 int code_copy_enabled
= 0;
22 void cpu_gen_init(void)
26 unsigned long code_gen_max_block_size(void)
31 int cpu_ia64_gen_code(CPUState
*env
, TranslationBlock
*tb
, int *gen_code_size_ptr
)
36 void flush_icache_range(unsigned long start
, unsigned long stop
)
38 while (start
< stop
) {
39 asm volatile ("fc %0" :: "r"(start
));
42 asm volatile (";;sync.i;;srlz.i;;");