Re: [PATCH 01/19] hw/mips: Move address translation helpers to target/mips/

2020-12-08 Thread Richard Henderson
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

[PATCH 01/19] hw/mips: Move address translation helpers to target/mips/

2020-12-06 Thread Philippe Mathieu-Daudé
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é