OSDN Git Service

target/arm: Move '-cpu host' code to cpu64.c
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 4 Feb 2022 16:55:01 +0000 (16:55 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Feb 2022 13:30:20 +0000 (13:30 +0000)
commitdcfb1d0476559cabe45ffbfb1d7667909ab309c2
treeb9ae5ab4b6a29c3aad34084c8903e1ea79a384de
parent9a86e023aaa70e05ad9e5354f146c1477b5f5911
target/arm: Move '-cpu host' code to cpu64.c

Now that KVM has dropped AArch32 host support, the 'host' CPU type is
always AArch64, and we can move it to cpu64.c.  This move will allow
us to share code between it and '-cpu max', which should behave
the same as '-cpu host' when using KVM or HVF.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Alexander Graf <agraf@csgraf.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220204165506.2846058-2-peter.maydell@linaro.org
target/arm/cpu.c
target/arm/cpu64.c