1 /*
2  * fake-exec.c for ia64.
3  *
4  * This is a file for stub functions so that compilation is possible
5  * when TCG CPU emulation is disabled during compilation.
6  *
7  * Copyright 2007 IBM Corporation.
8  * Added by & Authors:
9  * 	Jerone Young <jyoung5@us.ibm.com>
10  *
11  * Copyright 2008 Intel Corporation.
12  * Added by Xiantao Zhang <xiantao.zhang@intel.com>
13  *
14  * This work is licensed under the GNU GPL licence version 2 or later.
15  *
16  */
17 #include <stdio.h>
18 
19 #include "cpu.h"
20 #include "exec-all.h"
21 
22 int code_copy_enabled = 0;
23 
cpu_gen_init(void)24 void cpu_gen_init(void)
25 {
26 }
27 
code_gen_max_block_size(void)28 unsigned long code_gen_max_block_size(void)
29 {
30     return 32;
31 }
32 
cpu_ia64_gen_code(CPUState * env,TranslationBlock * tb,int * gen_code_size_ptr)33 int cpu_ia64_gen_code(CPUState *env, TranslationBlock *tb, int *gen_code_size_ptr)
34 {
35     return 0;
36 }
37 
tcg_dump_info(FILE * f,int (* cpu_fprintf)(FILE * f,const char * fmt,...))38 void tcg_dump_info(FILE *f,
39                    int (*cpu_fprintf)(FILE *f, const char *fmt, ...))
40 {
41     return;
42 }
43 
cpu_restore_state(TranslationBlock * tb,CPUState * env,unsigned long searched_pc,void * puc)44 int cpu_restore_state(TranslationBlock *tb,
45                       CPUState *env, unsigned long searched_pc,
46                       void *puc)
47 
48 {
49     return 0;
50 }
51