unicorn/qemu/target/i386
Mihail Abakumov e1c2fac129
i386: fix read/write cr with icount option
Running Windows with icount causes a crash in instruction of write cr.
This patch fixes it.

Reading and writing cr cause an icount read because there are called
cpu_get_apic_tpr and cpu_set_apic_tpr functions. So, there is need
gen_io_start()/gen_io_end() calls.

Backports commit 5b003a40bb1ab14d0398e91f03393d3c6b9577cd from qemu
2018-03-03 14:56:18 -05:00
..
arch_memory_mapping.c target/i386: enable A20 automatically in system management mode 2018-03-03 14:33:09 -05:00
bpt_helper.c
cc_helper_template.h
cc_helper.c
cpu-qom.h
cpu.c target/i386: use multiple CPU AddressSpaces 2018-03-03 14:53:47 -05:00
cpu.h target/i386: use multiple CPU AddressSpaces 2018-03-03 14:53:47 -05:00
excp_helper.c
fpu_helper.c
helper.c target/i386: use multiple CPU AddressSpaces 2018-03-03 14:53:47 -05:00
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 target-i386: defer VMEXIT to do_interrupt 2018-03-02 12:49:18 -05:00
shift_helper_template.h
smm_helper.c
svm_helper.c target-i386: defer VMEXIT to do_interrupt 2018-03-02 12:49:18 -05:00
svm.h
TODO
topology.h
translate.c i386: fix read/write cr with icount option 2018-03-03 14:56:18 -05:00
unicorn.c
unicorn.h