cpus: Have cpu_exec_initfn() per user / system emulation
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 23 Jan 2025 09:19:44 +0000 (10:19 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 6 Mar 2025 14:46:18 +0000 (15:46 +0100)
commita86cf967a1afe8ccbf58d34983816bc2985d65d2
tree2e4ae9211791830a77e75adb0fc1cf5e81167ac1
parente3a575f5609569400da628d384b32f5e3cf58745
cpus: Have cpu_exec_initfn() per user / system emulation

Slighly simplify cpu-target.c again by extracting cpu_exec_initfn()
to cpu-{system,user}.c, adding an empty stub for user emulation.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250123234415.59850-19-philmd@linaro.org>
cpu-target.c
hw/core/cpu-system.c
hw/core/cpu-user.c