unicorn/qemu/target-i386
Eduardo Habkost 79df79434d
target-i386: Fix signedness of MSR_IA32_APICBASE_BASE
Existing definition triggers the following when using clang
-fsanitize=undefined:

hw/intc/apic_common.c:314:55: runtime error: left shift of 1048575 by 12
places cannot be represented in type 'int'

Fix it so we won't try to shift a 1 to the sign bit of a signed integer.

Backports commit 458cf469f4a1cb520b07092f5537c5a6d2389d23 from qemu
2018-02-13 08:17:18 -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
cc_helper.c
cc_helper_template.h
cpu-qom.h target-i386: Require APIC ID to be explicitly set before CPU realize 2018-02-12 15:52:53 -05:00
cpu.c target-i386: Remove AMD feature flag aliases from CPU model table 2018-02-12 20:55:52 -05:00
cpu.h target-i386: Fix signedness of MSR_IA32_APICBASE_BASE 2018-02-13 08:17:18 -05:00
excp_helper.c
fpu_helper.c
helper.c
helper.h
int_helper.c
Makefile.objs
mem_helper.c
misc_helper.c
ops_sse.h
ops_sse_header.h
seg_helper.c x86: fix SS selector in SYSRET 2018-02-12 16:03:43 -05:00
shift_helper_template.h
smm_helper.c
svm.h
svm_helper.c
TODO
topology.h
translate.c target-*: Increment num_insns immediately after tcg_gen_insn_start 2018-02-11 12:46:30 -05:00
unicorn.c target-i386: make xmm_regs 512-bit wide 2018-02-12 12:38:43 -05:00
unicorn.h