diff options
| author | Peter Maydell | 2016-01-21 15:15:04 +0100 |
|---|---|---|
| committer | Peter Maydell | 2016-01-21 15:15:04 +0100 |
| commit | 12ebc9a76dd7702aef0a3618717a826c19c34ef4 (patch) | |
| tree | 70d0166f73708d8efd64936cfe60a90476b1cd87 /linux-headers/linux | |
| parent | exec.c: Don't set cpu->as until cpu_address_space_init (diff) | |
| download | qemu-12ebc9a76dd7702aef0a3618717a826c19c34ef4.tar.gz qemu-12ebc9a76dd7702aef0a3618717a826c19c34ef4.tar.xz qemu-12ebc9a76dd7702aef0a3618717a826c19c34ef4.zip | |
exec.c: Allow target CPUs to define multiple AddressSpaces
Allow multiple calls to cpu_address_space_init(); each
call adds an entry to the cpu->ases array at the specified
index. It is up to the target-specific CPU code to actually use
these extra address spaces.
Since this multiple AddressSpace support won't work with
KVM, add an assertion to avoid confusing failures.
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
