On 12/6/20 5:39 PM, Philippe Mathieu-Daudé wrote: > 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@xxxxxxxxx> > --- > include/hw/mips/cpudevs.h | 7 ------- > target/mips/cpu.h | 8 ++++++++ > hw/mips/boston.c | 1 - > {hw => target}/mips/addr.c | 2 +- > target/mips/translate.c | 2 -- > hw/mips/meson.build | 2 +- > target/mips/meson.build | 1 + > 7 files changed, 11 insertions(+), 12 deletions(-) > rename {hw => target}/mips/addr.c (98%) Reviewed-by: Richard Henderson <richard.henderson@xxxxxxxxxx> r~