diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-01 10:09:18 +0200 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-04-23 15:04:57 -0700 |
| commit | 364f4633b7bc917ef9b2ecd307b42276a6582fe0 (patch) | |
| tree | 33eba29b64845b42e7afd41c22d5a6fd7a43c0b8 /target/avr/cpu.c | |
| parent | 61dc4d0da8ae2c7dc46f5d69ef063b64726f841f (diff) | |
| download | focaccia-qemu-364f4633b7bc917ef9b2ecd307b42276a6582fe0.tar.gz focaccia-qemu-364f4633b7bc917ef9b2ecd307b42276a6582fe0.zip | |
target/avr: Restrict SoftMMU mmu_index() to TCG
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20250401080938.32278-6-philmd@linaro.org>
Diffstat (limited to 'target/avr/cpu.c')
| -rw-r--r-- | target/avr/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/avr/cpu.c b/target/avr/cpu.c index 1121822470..feb73e722b 100644 --- a/target/avr/cpu.c +++ b/target/avr/cpu.c @@ -228,6 +228,7 @@ static const TCGCPUOps avr_tcg_ops = { .translate_code = avr_cpu_translate_code, .synchronize_from_tb = avr_cpu_synchronize_from_tb, .restore_state_to_opc = avr_restore_state_to_opc, + .mmu_index = avr_cpu_mmu_index, .cpu_exec_interrupt = avr_cpu_exec_interrupt, .cpu_exec_halt = avr_cpu_has_work, .tlb_fill = avr_cpu_tlb_fill, @@ -250,7 +251,6 @@ static void avr_cpu_class_init(ObjectClass *oc, void *data) cc->class_by_name = avr_cpu_class_by_name; - cc->mmu_index = avr_cpu_mmu_index; cc->dump_state = avr_cpu_dump_state; cc->set_pc = avr_cpu_set_pc; cc->get_pc = avr_cpu_get_pc; |