diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-21 13:10:07 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-09 17:00:47 +0100 |
commit | d55ea95f256f1300edea837136f2a3841d20c588 (patch) | |
tree | 6483d38c789a7b8aa83f0a91ae9ca935bae29153 | |
parent | 82f0f44d62b3faacc447a68d05f3b58d3567ec5b (diff) | |
download | qemu-d55ea95f256f1300edea837136f2a3841d20c588.zip qemu-d55ea95f256f1300edea837136f2a3841d20c588.tar.gz qemu-d55ea95f256f1300edea837136f2a3841d20c588.tar.bz2 |
target/tricore: Move has_work() from CPUClass to SysemuCPUOps
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250125170125.32855-23-philmd@linaro.org>
-rw-r--r-- | target/tricore/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/tricore/cpu.c b/target/tricore/cpu.c index eb79467..16acc4e 100644 --- a/target/tricore/cpu.c +++ b/target/tricore/cpu.c @@ -165,6 +165,7 @@ static bool tricore_cpu_exec_interrupt(CPUState *cs, int interrupt_request) #include "hw/core/sysemu-cpu-ops.h" static const struct SysemuCPUOps tricore_sysemu_ops = { + .has_work = tricore_cpu_has_work, .get_phys_page_debug = tricore_cpu_get_phys_page_debug, }; @@ -193,7 +194,6 @@ static void tricore_cpu_class_init(ObjectClass *c, void *data) resettable_class_set_parent_phases(rc, NULL, tricore_cpu_reset_hold, NULL, &mcc->parent_phases); cc->class_by_name = tricore_cpu_class_by_name; - cc->has_work = tricore_cpu_has_work; cc->mmu_index = tricore_cpu_mmu_index; cc->gdb_read_register = tricore_cpu_gdb_read_register; |