[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/19] hw/mips: Move address translation helpers to target/mi
From: |
Richard Henderson |
Subject: |
Re: [PATCH 01/19] hw/mips: Move address translation helpers to target/mips/ |
Date: |
Tue, 8 Dec 2020 15:46:33 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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@amsat.org>
> ---
> 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@linaro.org>
r~
- [PATCH 00/19] target/mips: Boring code reordering, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 01/19] hw/mips: Move address translation helpers to target/mips/, Philippe Mathieu-Daudé, 2020/12/06
- Re: [PATCH 01/19] hw/mips: Move address translation helpers to target/mips/,
Richard Henderson <=
- [PATCH 02/19] target/mips: Remove unused headers from translate.c, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 04/19] target/mips: Remove unused headers from cp0_helper.c, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 03/19] target/mips: Remove unused headers from fpu_helper.c, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 05/19] target/mips: Remove unused headers from op_helper.c, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 06/19] target/mips: Remove unused headers from kvm.c, Philippe Mathieu-Daudé, 2020/12/06