hw/mips: Move address translation helpers to target/mips/
commit2fd9c5ad4449c862932b21e8f6b4573cc50b9ae8
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 6 Dec 2020 19:29:00 +0000 (6 20:29 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 13 Dec 2020 18:58:54 +0000 (13 19:58 +0100)
tree44ea62b782d76e76685ad82d98701a05ec4be8b0
parentdf6adb68c1b1808f164c9ed8a04fe14d9c04e82c
hw/mips: Move address translation helpers to target/mips/

Address translation is an architectural thing (not hardware
related). Move the helpers from hw/ to target/.

As physical address and KVM are specific to system mode
emulation, restrict this file to softmmu, so it doesn't
get compiled for user-mode emulation.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201206233949.3783184-2-f4bug@amsat.org>
hw/mips/boston.c
hw/mips/meson.build
include/hw/mips/cpudevs.h
target/mips/addr.c [moved from hw/mips/addr.c with 98% similarity]
target/mips/cpu.h
target/mips/meson.build
target/mips/translate.c