[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v13 02/22] target/riscv: remove CONFIG_TCG, as it is always TCG
From: |
Claudio Fontana |
Subject: |
[PATCH v13 02/22] target/riscv: remove CONFIG_TCG, as it is always TCG |
Date: |
Sat, 23 Jan 2021 13:23:39 +0100 |
for now only TCG is allowed as an accelerator for riscv,
so remove the CONFIG_TCG use.
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
---
target/riscv/cpu.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index 567f6790a9..60d0b43153 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -617,10 +617,9 @@ static void riscv_cpu_class_init(ObjectClass *c, void
*data)
#endif
cc->gdb_arch_name = riscv_gdb_arch_name;
cc->gdb_get_dynamic_xml = riscv_gdb_get_dynamic_xml;
-#ifdef CONFIG_TCG
cc->tcg_ops.initialize = riscv_translate_init;
cc->tlb_fill = riscv_cpu_tlb_fill;
-#endif
+
device_class_set_props(dc, riscv_cpu_properties);
}
--
2.26.2
- [PATCH v13 00/22] i386 cleanup PART 2, Claudio Fontana, 2021/01/23
- [PATCH v13 03/22] accel/tcg: split TCG-only code from cpu_exec_realizefn, Claudio Fontana, 2021/01/23
- [PATCH v13 01/22] cpu: Introduce TCGCpuOperations struct, Claudio Fontana, 2021/01/23
- [PATCH v13 04/22] cpu: Move synchronize_from_tb() to tcg_ops, Claudio Fontana, 2021/01/23
- [PATCH v13 08/22] target/arm: do not use cc->do_interrupt for KVM directly, Claudio Fontana, 2021/01/23
- [PATCH v13 06/22] cpu: Move tlb_fill to tcg_ops, Claudio Fontana, 2021/01/23
- [PATCH v13 09/22] cpu: move cc->do_interrupt to tcg_ops, Claudio Fontana, 2021/01/23
- [PATCH v13 02/22] target/riscv: remove CONFIG_TCG, as it is always TCG,
Claudio Fontana <=
- [PATCH v13 07/22] cpu: Move debug_excp_handler to tcg_ops, Claudio Fontana, 2021/01/23
- [PATCH v13 05/22] cpu: Move cpu_exec_* to tcg_ops, Claudio Fontana, 2021/01/23
- [PATCH v13 13/22] cpu: move adjust_watchpoint_address to tcg_ops, Claudio Fontana, 2021/01/23
- [PATCH v13 10/22] cpu: move cc->transaction_failed to tcg_ops, Claudio Fontana, 2021/01/23
- [PATCH v13 11/22] cpu: move do_unaligned_access to tcg_ops, Claudio Fontana, 2021/01/23
- [PATCH v13 14/22] cpu: move debug_check_watchpoint to tcg_ops, Claudio Fontana, 2021/01/23
- [PATCH v13 20/22] cpu: call AccelCPUClass::cpu_realizefn in cpu_exec_realizefn, Claudio Fontana, 2021/01/23
- [PATCH v13 18/22] accel: introduce AccelCPUClass extending CPUClass, Claudio Fontana, 2021/01/23
- [PATCH v13 15/22] cpu: tcg_ops: move to tcg-cpu-ops.h, keep a pointer in CPUClass, Claudio Fontana, 2021/01/23
- [PATCH v13 16/22] accel: extend AccelState and AccelClass to user-mode, Claudio Fontana, 2021/01/23