qemu-patch-raspberry4/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.c
cc_helper_template.h
cpu-qom.h
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
helper.h target-i386: Check CR4[DE] for processing DR4/DR5 2015-10-23 12:59:27 -02:00
int_helper.c
kvm-stub.c
kvm.c
kvm_i386.h
machine.c target-i386: Introduce cpu_x86_update_dr7 2015-10-23 12:59:27 -02:00
Makefile.objs
mem_helper.c
misc_helper.c
monitor.c
ops_sse.h
ops_sse_header.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
svm.h
svm_helper.c
TODO
translate.c target-i386: Check CR4[DE] for processing DR4/DR5 2015-10-23 12:59:27 -02:00