diff options
| author | Peter Maydell | 2016-01-21 15:15:05 +0100 |
|---|---|---|
| committer | Peter Maydell | 2016-01-21 15:15:05 +0100 |
| commit | 651a5bc03705102de519ebf079a40ecc1da991db (patch) | |
| tree | ef62f797c54862ed0038052ac161f2eeaf81cc21 /linux-headers/linux | |
| parent | exec.c: Pass MemTxAttrs to iotlb_to_region so it uses the right AS (diff) | |
| download | qemu-651a5bc03705102de519ebf079a40ecc1da991db.tar.gz qemu-651a5bc03705102de519ebf079a40ecc1da991db.tar.xz qemu-651a5bc03705102de519ebf079a40ecc1da991db.zip | |
exec.c: Add cpu_get_address_space()
Add a function to return the AddressSpace for a CPU based on
its numerical index. (Callers outside exec.c don't have access
to the CPUAddressSpace struct so can't just fish it out of the
CPUState struct directly.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions
