kvm: qemu: fix pci_enable_capabilities to set the CAP feature in pci::status
[kvm-userspace.git] / qemu / target-ia64 / fake-exec.c
blobc11cc3221fe863e6b468c29ffe0615ca0688343e
1 /*
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.
8 * Added by & Authors:
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.
17 #include <stdio.h>
19 #include "cpu.h"
20 #include "exec-all.h"
22 int code_copy_enabled = 0;
24 void cpu_gen_init(void)
28 unsigned long code_gen_max_block_size(void)
30 return 32;
33 int cpu_ia64_gen_code(CPUState *env, TranslationBlock *tb, int *gen_code_size_ptr)
35 return 0;
38 void tcg_dump_info(FILE *f,
39 int (*cpu_fprintf)(FILE *f, const char *fmt, ...))
41 return;
44 void flush_icache_range(unsigned long start, unsigned long stop)
46 while (start < stop) {
47 asm volatile ("fc %0" :: "r"(start));
48 start += 32;
50 asm volatile (";;sync.i;;srlz.i;;");
53 int cpu_restore_state(TranslationBlock *tb,
54 CPUState *env, unsigned long searched_pc,
55 void *puc)
58 return 0;