Make address_space_map() take a MemTxAttrs argument
commitf26404fbeef33ac8798d2541839f7873bbae91fd
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 15:32:35 +0000 (31 16:32 +0100)
treee284f31d535c59780adb912b78c9cbb6a73935c5
parentbc6b1cec84618bf977a451eac30ed1ee4c735963
Make address_space_map() take a MemTxAttrs argument

As part of plumbing MemTxAttrs down to the IOMMU translate method,
add MemTxAttrs as an argument to address_space_map().
Its 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-5-peter.maydell@linaro.org
exec.c
include/exec/memory.h
include/sysemu/dma.h
target/ppc/mmu-hash64.c