qemu-e2k/target-i386
Eduardo Habkost 72370dc114 target-i386: Use 1UL for bit shift
Fix undefined behavior detected by clang runtime check:

  qemu/target-i386/cpu.c:1494:15: runtime error:
    left shift of 1 by 31 places cannot be represented in type 'int'

While doing that, add extra parenthesis for clarity.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2015-10-23 13:07:27 -02:00
..
arch_dump.c
arch_memory_mapping.c
bpt_helper.c target-i386: Ensure always-1 bits on DR6 can't be cleared 2015-10-23 12:59:27 -02:00
cc_helper_template.h
cc_helper.c
cpu-qom.h kvm: Allow the Hyper-V vendor ID to be specified 2015-10-19 10:13:07 +02:00
cpu.c target-i386: Use 1UL for bit shift 2015-10-23 13:07:27 -02:00
cpu.h target-i386: Check CR4[DE] for processing DR4/DR5 2015-10-23 12:59:27 -02:00
excp_helper.c
fpu_helper.c
gdbstub.c
helper.c target-i386: Move breakpoint related functions to new file 2015-10-02 16:22:01 -03:00
helper.h target-i386: Check CR4[DE] for processing DR4/DR5 2015-10-23 12:59:27 -02:00
int_helper.c
kvm_i386.h
kvm-stub.c
kvm.c kvm: Allow the Hyper-V vendor ID to be specified 2015-10-19 10:13:07 +02:00
machine.c target-i386: Introduce cpu_x86_update_dr7 2015-10-23 12:59:27 -02:00
Makefile.objs target-i386: Move breakpoint related functions to new file 2015-10-02 16:22:01 -03:00
mem_helper.c
misc_helper.c target-i386: Move breakpoint related functions to new file 2015-10-02 16:22:01 -03:00
monitor.c
ops_sse_header.h
ops_sse.h
seg_helper.c target-i386: Introduce cpu_x86_update_dr7 2015-10-23 12:59:27 -02:00
shift_helper_template.h
smm_helper.c target-i386: allow any alignment for SMBASE 2015-10-23 12:59:26 -02:00
svm_helper.c
svm.h
TODO
translate.c target-i386: Check CR4[DE] for processing DR4/DR5 2015-10-23 12:59:27 -02:00