]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
exec.c: Add cpu_get_address_space()
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Jan 2016 14:15:05 +0000 (14:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Jan 2016 14:15:05 +0000 (14:15 +0000)
commit651a5bc03705102de519ebf079a40ecc1da991db
treeef62f797c54862ed0038052ac161f2eeaf81cc21
parenta54c87b68a0410d0cf6f8b84e42074a5cf463732
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>
exec.c
include/exec/exec-all.h