Browse Source

target/sh4: drop cpu_reset from realizefn

Shuffle things around to ensure that gdb register creation was
done after dependant peripherals had created their cpu interfaces.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20260108143423.1378674-2-alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
pull/316/head
Alex Bennée 7 months ago
committed by Philippe Mathieu-Daudé
parent
commit
be9fe81e29
  1. 1
      target/sh4/cpu.c

1
target/sh4/cpu.c

@ -255,7 +255,6 @@ static void superh_cpu_realizefn(DeviceState *dev, Error **errp)
return;
}
cpu_reset(cs);
qemu_init_vcpu(cs);
scc->parent_realize(dev, errp);

Loading…
Cancel
Save