|
Lines 1-6
Link Here
|
| 1 |
|
1 |
|
| 2 |
#include "config.h" |
2 |
#include "config.h" |
| 3 |
#include "config-host.h" |
3 |
#include "config-host.h" |
|
|
4 |
#include "stdlib.h" |
| 4 |
|
5 |
|
| 5 |
#ifdef USE_KVM |
6 |
#ifdef USE_KVM |
| 6 |
|
7 |
|
|
Lines 923-926
Link Here
|
| 923 |
out: |
924 |
out: |
| 924 |
return r; |
925 |
return r; |
| 925 |
} |
926 |
} |
|
|
927 |
#ifdef CONFIG_KVM |
| 928 |
CCTable cc_table[CC_OP_NB]; |
| 929 |
int code_copy_enabled; |
| 930 |
|
| 931 |
static int nop_flags(void) |
| 932 |
{ |
| 933 |
return 0; |
| 934 |
} |
| 935 |
|
| 936 |
int cpu_gen_code(CPUState *env, TranslationBlock *tb, |
| 937 |
int max_code_size, int *gen_code_size_ptr) |
| 938 |
{ |
| 939 |
return -1; |
| 940 |
} |
| 941 |
|
| 942 |
int cpu_restore_state(TranslationBlock *tb, |
| 943 |
CPUState *env, unsigned long searched_pc, |
| 944 |
void *puc) |
| 945 |
{ |
| 946 |
return -1; |
| 947 |
} |
| 948 |
|
| 949 |
void optimize_flags_init(void) |
| 950 |
{ |
| 951 |
int i; |
| 952 |
|
| 953 |
for (i = 0; i < CC_OP_NB; i++) { |
| 954 |
cc_table[i].compute_c = nop_flags; |
| 955 |
cc_table[i].compute_all = nop_flags; |
| 956 |
} |
| 957 |
} |
| 958 |
|
| 959 |
#endif |
| 926 |
#endif |
960 |
#endif |