Re: [PATCH 05/20] cpus: Keep default fields initialization in cpu_common_initfn()

2025-01-26 Thread Richard Henderson
On 1/23/25 15:43, Philippe Mathieu-Daudé wrote: cpu_common_initfn() is our target agnostic initializer, while cpu_exec_initfn() is the target specific one. The %as and %num_ases fields are not target specific, so initialize them in the common helper. Signed-off-by: Philippe Mathieu-Daudé ---

[PATCH 05/20] cpus: Keep default fields initialization in cpu_common_initfn()

2025-01-23 Thread Philippe Mathieu-Daudé
cpu_common_initfn() is our target agnostic initializer, while cpu_exec_initfn() is the target specific one. The %as and %num_ases fields are not target specific, so initialize them in the common helper. Signed-off-by: Philippe Mathieu-Daudé --- cpu-target.c | 3 --- hw/core/cpu-common.c