Lines 705-709
int kvm_update_debugger(CPUState *env)
Link Here
|
705 |
return kvm_guest_debug(kvm_context, 0, &dbg); |
705 |
return kvm_guest_debug(kvm_context, 0, &dbg); |
706 |
} |
706 |
} |
707 |
|
707 |
|
708 |
|
708 |
#ifdef CONFIG_KVM |
709 |
#endif |
709 |
|
|
|
710 |
CCTable cc_table[CC_OP_NB]; |
711 |
|
712 |
int code_copy_enabled; |
713 |
|
714 |
static int nop_flags(void) |
715 |
{ |
716 |
return 0; |
717 |
} |
718 |
|
719 |
int cpu_gen_code(CPUState *env, TranslationBlock *tb, |
720 |
int max_code_size, int *gen_code_size_ptr) |
721 |
{ |
722 |
return -1; |
723 |
} |
724 |
|
725 |
int cpu_restore_state(TranslationBlock *tb, |
726 |
CPUState *env, unsigned long searched_pc, |
727 |
void *puc) |
728 |
{ |
729 |
return -1; |
730 |
} |
731 |
|
732 |
void optimize_flags_init(void) |
733 |
{ |
734 |
int i; |
735 |
|
736 |
for (i = 0; i < CC_OP_NB; i++) { |
737 |
cc_table[i].compute_c = nop_flags; |
738 |
cc_table[i].compute_all = nop_flags; |
739 |
} |
740 |
} |
741 |
|
742 |
#endif |
743 |
|
744 |
#endif |