]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
Avoid range comparisons on io index types
authorAvi Kivity <avi@redhat.com>
Sun, 1 Jan 2012 19:15:42 +0000 (21:15 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 4 Jan 2012 11:34:49 +0000 (13:34 +0200)
commit1d393fa2d1c16021c840e5d37f7ff74341b7c884
tree2209ca1ed0e7db577731df5d6390b22a53dfe524
parent2774c6d0ae20d32d75f77e7ed063ddbb854ca4c5
Avoid range comparisons on io index types

The code sometimes uses range comparisons on io indexes (e.g.
index =< IO_MEM_ROM).  Avoid these as they make moving to objects harder.

Signed-off-by: Avi Kivity <avi@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
exec-all.h
exec.c
memory.c
softmmu_template.h