mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
target-arm: Add register_cp_regs_for_features()
Add new function register_cp_regs_for_features() as a place to register coprocessor registers dependent on feature flags. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
e8070a23a8
commit
2ceb98c007
3 changed files with 14 additions and 0 deletions
|
@ -216,6 +216,8 @@ void arm_cpu_realize(ARMCPU *cpu)
|
|||
if (arm_feature(env, ARM_FEATURE_VFP3)) {
|
||||
set_feature(env, ARM_FEATURE_VFP);
|
||||
}
|
||||
|
||||
register_cp_regs_for_features(cpu);
|
||||
}
|
||||
|
||||
/* CPU models */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue