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é <phi...@linaro.org> > --- > hw/tricore/triboard.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-)
Reviewed-by: Bastian Koppelmann <kbast...@mail.uni-paderborn.de> Cheers, Bastian