hw/arm/tosa: Enable all CPU features by using the max target for A-class CPUs

This mirrors the current behavior for the AArch64 CPUs, where we also
use the max target.
This commit is contained in:
Lioncash 2018-09-02 16:19:24 -04:00
parent 0ad97c7ee3
commit f419c5f554
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -34,7 +34,8 @@ static void tosa_machine_init(struct uc_struct *uc, MachineClass *mc)
if (uc->mode & UC_MODE_MCLASS) { if (uc->mode & UC_MODE_MCLASS) {
mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-m3"); mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-m3");
} else { } else {
mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-a15"); // Unicorn: Enable all CPU features
mc->default_cpu_type = ARM_CPU_TYPE_NAME("max");
} }
} }