mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
target/sparc: 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-21-philmd@linaro.org>
This commit is contained in:
committed by
Richard Henderson
parent
32a84b306f
commit
f34769a536
+1
-1
@@ -1005,6 +1005,7 @@ static const TCGCPUOps sparc_tcg_ops = {
|
||||
.translate_code = sparc_translate_code,
|
||||
.synchronize_from_tb = sparc_cpu_synchronize_from_tb,
|
||||
.restore_state_to_opc = sparc_restore_state_to_opc,
|
||||
.mmu_index = sparc_cpu_mmu_index,
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
.tlb_fill = sparc_cpu_tlb_fill,
|
||||
@@ -1033,7 +1034,6 @@ static void sparc_cpu_class_init(ObjectClass *oc, void *data)
|
||||
|
||||
cc->class_by_name = sparc_cpu_class_by_name;
|
||||
cc->parse_features = sparc_cpu_parse_features;
|
||||
cc->mmu_index = sparc_cpu_mmu_index;
|
||||
cc->dump_state = sparc_cpu_dump_state;
|
||||
#if !defined(TARGET_SPARC64) && !defined(CONFIG_USER_ONLY)
|
||||
cc->memory_rw_debug = sparc_cpu_memory_rw_debug;
|
||||
|
||||
Reference in New Issue
Block a user