|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH] hw/tricore/triboard: Remove use of &first_cpu |
Date: | Sun, 12 Jan 2025 18:29:25 +0100 |
User-agent: | Mozilla Thunderbird |
On 10/1/25 19: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(-)
Patch queued.
[Prev in Thread] | Current Thread | [Next in Thread] |