cpu: Split as cpu-common / cpu-sysemu
commitdf4fd7d5c8a334fc4305b35e92ce44479a7be656
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 17 May 2021 10:51:22 +0000 (17 12:51 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 26 May 2021 22:33:59 +0000 (26 15:33 -0700)
tree1b61f8f48b869081b8f850d1d4aaf4529eae6693
parent046943acf4f1d2aeec6f42f1cd4f37096d0b2c98
cpu: Split as cpu-common / cpu-sysemu

The current cpu.c contains sysemu-specific methods.
To avoid building them in user-mode builds, split the
current cpu.c as cpu-common.c / cpu-sysemu.c.

Start by moving cpu_get_crash_info().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210517105140.1062037-6-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/core/cpu-common.c [moved from hw/core/cpu.c with 96% similarity]
hw/core/cpu-sysemu.c [new file with mode: 0644]
hw/core/meson.build