mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 13:58:16 +00:00
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:
parent
0ad97c7ee3
commit
f419c5f554
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue