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
Showing
- accel/tcg/translate-all.c 1 addition, 1 deletionaccel/tcg/translate-all.c
- exec.c 9 additions, 5 deletionsexec.c
- hw/vfio/common.c 2 additions, 1 deletionhw/vfio/common.c
- include/exec/memory.h 3 additions, 1 deletioninclude/exec/memory.h
- memory_ldst.inc.c 9 additions, 9 deletionsmemory_ldst.inc.c
- target/arm/kvm.c 2 additions, 1 deletiontarget/arm/kvm.c
- target/riscv/helper.c 1 addition, 1 deletiontarget/riscv/helper.c
Loading
Please register or sign in to comment