summaryrefslogtreecommitdiffstats
path: root/target/arm/cpu.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-05-04 19:24:47 +0200
committerPeter Maydell2020-05-11 12:45:59 +0200
commitfcdf0a90f791038c7e0a8546d00ca3168a7f3891 (patch)
tree3264f70c6e0344dd32e1d8fea7698d6eb64d63ac /target/arm/cpu.c
parenttarget/arm/cpu: Use ARRAY_SIZE() to iterate over ARMCPUInfo[] (diff)
downloadqemu-fcdf0a90f791038c7e0a8546d00ca3168a7f3891.tar.gz
qemu-fcdf0a90f791038c7e0a8546d00ca3168a7f3891.tar.xz
qemu-fcdf0a90f791038c7e0a8546d00ca3168a7f3891.zip
target/arm/cpu: Restrict v8M IDAU interface to Aarch32 CPUs
As IDAU is a v8M feature, restrict it to the Aarch32 CPUs. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20200504172448.9402-5-philmd@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu.c')
-rw-r--r--target/arm/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/cpu.c b/target/arm/cpu.c
index b4d73dd47c..a10f8c4044 100644
--- a/target/arm/cpu.c
+++ b/target/arm/cpu.c
@@ -2889,7 +2889,6 @@ static void arm_cpu_register_types(void)
const size_t cpu_count = ARRAY_SIZE(arm_cpus);
type_register_static(&arm_cpu_type_info);
- type_register_static(&idau_interface_type_info);
#ifdef CONFIG_KVM
type_register_static(&host_arm_cpu_type_info);
@@ -2898,6 +2897,7 @@ static void arm_cpu_register_types(void)
if (cpu_count) {
size_t i;
+ type_register_static(&idau_interface_type_info);
for (i = 0; i < cpu_count; ++i) {
arm_cpu_register(&arm_cpus[i]);
}