diff options
author | Peter Maydell | 2018-05-31 15:50:52 +0200 |
---|---|---|
committer | Peter Maydell | 2018-05-31 17:32:35 +0200 |
commit | f26404fbeef33ac8798d2541839f7873bbae91fd (patch) | |
tree | e284f31d535c59780adb912b78c9cbb6a73935c5 /target | |
parent | Make address_space_translate{, _cached}() take a MemTxAttrs argument (diff) | |
download | qemu-f26404fbeef33ac8798d2541839f7873bbae91fd.tar.gz qemu-f26404fbeef33ac8798d2541839f7873bbae91fd.tar.xz qemu-f26404fbeef33ac8798d2541839f7873bbae91fd.zip |
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
Diffstat (limited to 'target')
-rw-r--r-- | target/ppc/mmu-hash64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/ppc/mmu-hash64.c b/target/ppc/mmu-hash64.c index a1db20e3a8..aa200cba4c 100644 --- a/target/ppc/mmu-hash64.c +++ b/target/ppc/mmu-hash64.c @@ -431,7 +431,8 @@ const ppc_hash_pte64_t *ppc_hash64_map_hptes(PowerPCCPU *cpu, return NULL; } - hptes = address_space_map(CPU(cpu)->as, base + pte_offset, &plen, false); + hptes = address_space_map(CPU(cpu)->as, base + pte_offset, &plen, false, + MEMTXATTRS_UNSPECIFIED); if (plen < (n * HASH_PTE_SIZE_64)) { hw_error("%s: Unable to map all requested HPTEs\n", __func__); } |