|
From: | Richard Henderson |
Subject: | Re: [PATCH 01/11] hw/mips/loongson3_virt: Factor generic_cpu_reset() out |
Date: | Tue, 14 Jan 2025 21:02:01 -0800 |
User-agent: | Mozilla Thunderbird |
On 1/12/25 13:58, Philippe Mathieu-Daudé wrote:
main_cpu_reset() is misleadingly named "main": it resets all vCPUs, with a special case for the first vCPU. Factor generic_cpu_reset() out of main_cpu_reset(), allowing to remove one &first_cpu use. Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org> --- hw/mips/loongson3_virt.c | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |