You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/tricore
Philippe Mathieu-Daudé e555abceec hw/tricore/triboard: Remove unnecessary use of &first_cpu
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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20250110180909.83165-1-philmd@linaro.org>
1 week ago
..
Kconfig tricore: switch boards to "default y" 9 months ago
meson.build hw/tricore: fix inclusion of tricore_testboard 4 years ago
tc27x_soc.c hw/tricore: Remove empty Property lists 1 month ago
triboard.c hw/tricore/triboard: Remove unnecessary use of &first_cpu 1 week ago
tricore_testboard.c hw/tricore/testboard: Use qdev_new() instead of QOM basic API 11 months ago
tricore_testdevice.c hw/tricore: Mark devices as little-endian 3 weeks ago