unicorn/qemu/target/i386
Eduardo Habkost 33ab5f71c9
i386: Reorganize and document CPUID initialization steps
CPU runnability checks and CPU model expansion have slightly
different requirements. Document the steps involved in loading a
CPU model and realizing a CPU, so their requirements and purpose
are clearly defined.

This patch doesn't change any implementation. It just add
comments, rename the x86_cpu_load_features() function for clarity
(so it won't be confused with x86_cpu_load_def()), and move
x86_cpu_filter_features() closer to it.

Backports commit b8d834a00fa3ed4dad7d371e1a00938a126a54a0 from qemu
2018-03-02 10:55:00 -05:00
..
arch_memory_mapping.c
bpt_helper.c
cc_helper_template.h
cc_helper.c
cpu-qom.h
cpu.c i386: Reorganize and document CPUID initialization steps 2018-03-02 10:55:00 -05:00
cpu.h i386: Rename X86CPU::host_features to X86CPU::max_features 2018-03-02 10:51:40 -05:00
excp_helper.c
fpu_helper.c
helper.c
helper.h
int_helper.c
Makefile.objs
mem_helper.c
misc_helper.c
mpx_helper.c
ops_sse_header.h
ops_sse.h
seg_helper.c
shift_helper_template.h
smm_helper.c
svm_helper.c
svm.h
TODO
topology.h
translate.c
unicorn.c
unicorn.h