blob: e6f8363cb11ae32414768b6a184ad02f4af50be1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/*
* fake-exec.c
*
* This is a file for stub functions so that compilation is possible
* when TCG CPU emulation is disabled during compilation.
*
* Copyright 2007 IBM Corporation.
* Added by & Authors:
* Jerone Young <jyoung5@us.ibm.com>
* This work is licensed under the GNU GPL licence version 2 or later.
*
*/
#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)
{
}
void cpu_gen_init(void)
{
}
int cpu_restore_state(TranslationBlock *tb,
CPUState *env, unsigned long searched_pc,
void *puc)
{
return 0;
}
int cpu_x86_gen_code(CPUState *env, TranslationBlock *tb, int *gen_code_size_ptr)
{
return 0;
}
void optimize_flags_init(void)
{
}
void tcg_prologue_init(TCGContext *ctx)
{
}
|