qemu-cr16/target-i386
liguang e175bce587 target-i386: Use switch in check_hw_breakpoints()
Replace an if statement using magic numbers for breakpoint type with a
more explicit switch statement. This is to aid readability.

Change the return type and force_dr6_update argument type to bool.

While at it, fix Coding Style issues (missing braces).

Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-01-15 09:23:50 +01:00
..
arch_dump.c
arch_memory_mapping.c
cc_helper.c
cc_helper_template.h
cpu-qom.h
cpu.c
cpu.h target-i386: Use switch in check_hw_breakpoints() 2013-01-15 09:23:50 +01:00
excp_helper.c
fpu_helper.c
helper.c target-i386: Use switch in check_hw_breakpoints() 2013-01-15 09:23:50 +01:00
helper.h
hyperv.c
hyperv.h
int_helper.c
ioport-user.c
kvm-stub.c
kvm.c
kvm_i386.h
machine.c
Makefile.objs
mem_helper.c
misc_helper.c target-i386: Use switch in check_hw_breakpoints() 2013-01-15 09:23:50 +01:00
ops_sse.h
ops_sse_header.h
seg_helper.c
shift_helper_template.h
smm_helper.c
svm.h
svm_helper.c
TODO
translate.c