mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-07 17:00:35 +00:00
target/riscv: remove CONFIG_TCG, as it is always TCG
for now only TCG is allowed as an accelerator for riscv, so remove the CONFIG_TCG use. Backports 6a3d2e7c0654c3fb2d3368d05363d0635e8bb8ff
This commit is contained in:
parent
b9b711afe3
commit
21375463ea
|
@ -372,10 +372,8 @@ static void riscv_cpu_class_init(struct uc_struct *uc, ObjectClass *oc, void *da
|
||||||
cc->do_unaligned_access = riscv_cpu_do_unaligned_access;
|
cc->do_unaligned_access = riscv_cpu_do_unaligned_access;
|
||||||
cc->get_phys_page_debug = riscv_cpu_get_phys_page_debug;
|
cc->get_phys_page_debug = riscv_cpu_get_phys_page_debug;
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_TCG
|
|
||||||
cc->tcg_ops.initialize = riscv_translate_init;
|
cc->tcg_ops.initialize = riscv_translate_init;
|
||||||
cc->tlb_fill = riscv_cpu_tlb_fill;
|
cc->tlb_fill = riscv_cpu_tlb_fill;
|
||||||
#endif
|
|
||||||
/* For now, mark unmigratable: */
|
/* For now, mark unmigratable: */
|
||||||
//cc->vmsd = &vmstate_riscv_cpu;
|
//cc->vmsd = &vmstate_riscv_cpu;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue