qemu-e2k/target-i386
Eduardo Habkost 458cf469f4 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.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2015-06-02 15:15:52 -03:00
..
arch_dump.c x86: Fuse g_malloc(); memset() into g_malloc0() 2014-12-15 12:21:02 +01:00
arch_memory_mapping.c Switch non-CPU callers from ld/st*_phys to address_space_ld/st* 2015-04-26 16:49:24 +01:00
cc_helper_template.h
cc_helper.c
cpu-qom.h target-i386: Require APIC ID to be explicitly set before CPU realize 2015-03-09 16:30:03 -03:00
cpu.c target-i386: Remove AMD feature flag aliases from CPU model table 2015-04-27 15:41:03 -03:00
cpu.h target-i386: Fix signedness of MSR_IA32_APICBASE_BASE 2015-06-02 15:15:52 -03:00
excp_helper.c
fpu_helper.c target-i386: fbld instruction doesn't set minus sign 2014-12-14 16:34:29 -06:00
gdbstub.c
helper.c qemu-log: add log category for MMU info 2014-12-16 18:43:19 +00:00
helper.h
int_helper.c
ioport-user.c
kvm_i386.h
kvm-stub.c
kvm.c kvm: add support for memory transaction attributes 2015-04-30 16:55:32 +02:00
machine.c target-i386: make xmm_regs 512-bit wide 2015-01-26 12:22:44 +01:00
Makefile.objs
mem_helper.c
misc_helper.c
ops_sse_header.h
ops_sse.h target-i386: simplify AES emulation 2014-12-15 12:21:01 +01:00
seg_helper.c x86: fix SS selector in SYSRET 2015-03-10 11:18:24 +01:00
shift_helper_template.h
smm_helper.c target-i386: save 64-bit CR3 in 64-bit SMM state save area 2015-04-02 15:57:27 +02:00
svm_helper.c
svm.h
TODO
translate.c tcg: Change translator-side labels to a pointer 2015-03-13 12:28:18 -07:00