mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
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>
This commit is contained in:
parent
e3a575f560
commit
a86cf967a1
3 changed files with 12 additions and 9 deletions
|
@ -25,3 +25,8 @@ void cpu_class_init_props(DeviceClass *dc)
|
|||
{
|
||||
device_class_set_props(dc, cpu_user_props);
|
||||
}
|
||||
|
||||
void cpu_exec_initfn(CPUState *cpu)
|
||||
{
|
||||
/* nothing to do */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue