On 27/8/26 06:15, Richard Henderson wrote:
Introduce the names and allow them with the virt and sbsa-ref
machine types. So far, the cpu types both exactly match "max".
Signed-off-by: Richard Henderson <[email protected]>
---
hw/arm/sbsa-ref.c | 2 ++
hw/arm/virt.c | 2 ++
target/arm/tcg/cpu-max-v8.c | 11 +++++++++++
target/arm/tcg/cpu64.c | 1 +
4 files changed, 16 insertions(+)
+static void cpu_max_v8_register_type(void)
+{
+ static const ARMCPUInfo max_v8[2] = {
+ { .name = "max-v8", .initfn = aarch32_max_v8_tcg_initfn },
+ { .name = "max-v8", .initfn = aarch64_max_tcg_initfn }
+ };
+ arm_cpu_register(&max_v8[target_aarch64()]);
+}
:)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>