summaryrefslogtreecommitdiffstats
path: root/include/exec/cpu-all.h
diff options
context:
space:
mode:
authorPaolo Bonzini2018-03-03 17:24:04 +0100
committerPaolo Bonzini2018-05-09 00:13:38 +0200
commita411c84b561baa94b28165c52f21c33517ee8f59 (patch)
tree153323bf6b50b891fc9b54b858d069047a2d3377 /include/exec/cpu-all.h
parentexec: small changes to flatview_do_translate (diff)
downloadqemu-a411c84b561baa94b28165c52f21c33517ee8f59.tar.gz
qemu-a411c84b561baa94b28165c52f21c33517ee8f59.tar.xz
qemu-a411c84b561baa94b28165c52f21c33517ee8f59.zip
exec: extract address_space_translate_iommu, fix page_mask corner case
This will be used to process IOMMUs in a MemoryRegionCache. This includes a small bugfix, in that the returned page_mask is now correctly -1 if the IOMMU memory region maps the entire address space directly. Previously, address_space_get_iotlb_entry would return ~TARGET_PAGE_MASK. Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/cpu-all.h')
0 files changed, 0 insertions, 0 deletions