summaryrefslogtreecommitdiff
path: root/block/qcow2-cluster.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-21 14:15:05 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-21 14:15:05 +0000
commitd7f25a9e6a6b2c69a0be6033903b7d6087bcf47d (patch)
tree084def86972dcb269d223a9e91d6574253fed8c6 /block/qcow2-cluster.c
parent1dc6fb1f5cc5cea5ba01010a19c6acefd0ae4b73 (diff)
downloadqemu-d7f25a9e6a6b2c69a0be6033903b7d6087bcf47d.zip
cpu: Add new asidx_from_attrs() method
Add a new method to CPUClass which the memory system core can use to obtain the correct address space index to use for a memory access with a given set of transaction attributes, together with the wrapper function cpu_asidx_from_attrs() which implements the default behaviour ("always use asidx 0") for CPU classes which don't provide the method. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'block/qcow2-cluster.c')
0 files changed, 0 insertions, 0 deletions