diff options
author | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2013-12-17 13:06:51 +1000 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2014-02-11 22:56:37 +1000 |
commit | 09daed848c3de60b7979eda709dc4bae5195273d (patch) | |
tree | fc1780c50b6f58edbaa3ca77af504cc44fe07c57 /cpus.c | |
parent | c6c6958c98687543bcb12bdf5492e7a48d535511 (diff) |
cpu: Add per-cpu address space
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'cpus.c')
-rw-r--r-- | cpus.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1119,6 +1119,8 @@ void resume_all_vcpus(void) static void qemu_tcg_init_vcpu(CPUState *cpu) { + tcg_cpu_address_space_init(cpu, cpu->as); + /* share a single thread for all cpus with TCG */ if (!tcg_cpu_thread) { cpu->thread = g_malloc0(sizeof(QemuThread)); |