[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/tricore/triboard: Remove use of &first_cpu
From: |
Bastian Koppelmann |
Subject: |
Re: [PATCH] hw/tricore/triboard: Remove use of &first_cpu |
Date: |
Sun, 12 Jan 2025 09:23:06 +0100 |
On Fri, Jan 10, 2025 at 07:09:09PM +0100, 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: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Cheers,
Bastian