unicorn/qemu/target-i386
Peter Maydell f1b237236c
exec.c: Don't set cpu->as until cpu_address_space_init
Rather than setting cpu->as unconditionally in cpu_exec_init
(and then having target-i386 override this later), don't set
it until the first call to cpu_address_space_init.

This requires us to initialise the address space for
both TCG and KVM (KVM doesn't need the AS listener but
it does require cpu->as to be set).

For target CPUs which don't set up any address spaces (currently
everything except i386), add the default address_space_memory
in qemu_init_vcpu().

Backports commit 56943e8cc14b7eeeab67d1942fa5d8bcafe3e53f from qemu
2018-02-17 22:24:36 -05:00
..
arch_memory_mapping.c Switch non-CPU callers from ld/st*_phys to address_space_ld/st* 2018-02-12 19:27:02 -05:00
bpt_helper.c target-i386: Check CR4[DE] for processing DR4/DR5 2018-02-17 15:24:06 -05:00
cc_helper_template.h
cc_helper.c target-i386: exception handling for other helper functions 2018-02-17 15:23:51 -05:00
cpu-qom.h target-i386: create a separate AddressSpace for each CPU 2018-02-13 12:36:26 -05:00
cpu.c exec.c: Don't set cpu->as until cpu_address_space_init 2018-02-17 22:24:36 -05:00
cpu.h target-i386: Enable clflushopt/clwb/pcommit instructions 2018-02-17 15:34:57 -05:00
excp_helper.c target-i386: introduce new raise_exception functions 2018-02-17 15:23:50 -05:00
fpu_helper.c target-i386: exception handling for FPU instructions 2018-02-17 15:23:50 -05:00
helper.c target-i386: do not duplicate page protection checks 2018-02-17 20:59:54 -05:00
helper.h target-i386: Check CR4[DE] for processing DR4/DR5 2018-02-17 15:24:06 -05:00
int_helper.c target-i386: exception handling for div instructions 2018-02-17 15:23:50 -05:00
Makefile.objs
mem_helper.c target-i386: exception handling for memory helpers 2018-02-17 15:23:50 -05:00
misc_helper.c target-i386: exception handling for other helper functions 2018-02-17 15:23:51 -05:00
ops_sse_header.h
ops_sse.h target-i386: fix pcmpxstrx equal-ordered (strstr) mode 2018-02-17 15:24:15 -05:00
seg_helper.c target-i386: Introduce cpu_x86_update_dr7 2018-02-17 15:24:05 -05:00
shift_helper_template.h
smm_helper.c target-i386: allow any alignment for SMBASE 2018-02-17 15:24:05 -05:00
svm_helper.c target-i386: Use correct memory attributes for memory accesses 2018-02-13 11:54:12 -05:00
svm.h
TODO
topology.h
translate.c target-i386: tcg: Check right CPUID bits for clflushopt/pcommit 2018-02-17 17:25:36 -05:00
unicorn.c target-i386: make xmm_regs 512-bit wide 2018-02-12 12:38:43 -05:00
unicorn.h