mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-24 22:17: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:
parent
cbf565b00f
commit
c04f6b5908
1 changed files with 2 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue