OSDN Git Service

target/arm: Restrict the Address Translate write operation to TCG accel
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 23 Apr 2020 07:33:54 +0000 (09:33 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 30 Apr 2020 14:35:41 +0000 (15:35 +0100)
commit9fb005b02dbda7f47b789b7f19bf5f73622a4756
treeb178e3abfb8b9b129e4a16b801276cc7f9007a86
parent60592cfed2b685ef114a454d176ef539528cb0cf
target/arm: Restrict the Address Translate write operation to TCG accel

Under KVM these registers are written by the hardware.
Restrict the writefn handlers to TCG to avoid when building
without TCG:

      LINK    aarch64-softmmu/qemu-system-aarch64
    target/arm/helper.o: In function `do_ats_write':
    target/arm/helper.c:3524: undefined reference to `raise_exception'

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200423073358.27155-2-philmd@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c