Make address_space_translate{, _cached}() take a MemTxAttrs argument
commitbc6b1cec84618bf977a451eac30ed1ee4c735963
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 31 May 2018 13:50:52 +0000 (31 14:50 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 31 May 2018 13:50:52 +0000 (31 14:50 +0100)
tree17b62b24ca89c8328e9783b3cb836092ae5cb808
parentc874dc4f5e8ffae46ddaf2a0f223269f23f3a00d
Make address_space_translate{, _cached}() take a MemTxAttrs argument

As part of plumbing MemTxAttrs down to the IOMMU translate method,
add MemTxAttrs as an argument to address_space_translate()
and address_space_translate_cached(). Callers either have an
attrs value to hand, or don't care and can use MEMTXATTRS_UNSPECIFIED.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180521140402.23318-4-peter.maydell@linaro.org
accel/tcg/translate-all.c
exec.c
hw/vfio/common.c
include/exec/memory.h
memory_ldst.inc.c
target/arm/kvm.c
target/riscv/helper.c