|
From: | Richard Henderson |
Subject: | Re: [PATCH] hw/tricore/triboard: Remove use of &first_cpu |
Date: | Fri, 10 Jan 2025 10:25:33 -0800 |
User-agent: | Mozilla Thunderbird |
On 1/10/25 10:09, Philippe Mathieu-Daudé wrote:
triboard_machine_init() has access to the single CPU via: TriBoardMachineState { TC27XSoCState { TriCoreCPU cpu; ... } tc27x_soc; } ms; Pass it as argument to tricore_load_kernel() so we can remove the &first_cpu global use. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- hw/tricore/triboard.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |