mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
target/arm/helper: restrict define_tlb_insn_regs to system target
Allows to include target/arm/tcg/tlb-insns.c only for system targets. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20250512180502.2395029-46-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
committed by
Peter Maydell
parent
cbf565b00f
commit
c04f6b5908
@@ -7764,7 +7764,9 @@ void register_cp_regs_for_features(ARMCPU *cpu)
|
||||
define_arm_cp_regs(cpu, not_v8_cp_reginfo);
|
||||
}
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
define_tlb_insn_regs(cpu);
|
||||
#endif
|
||||
|
||||
if (arm_feature(env, ARM_FEATURE_V6)) {
|
||||
/* The ID registers all have impdef reset values */
|
||||
|
||||
Reference in New Issue
Block a user