qemu-e2k/hw/pci-host
Markus Armbruster a0efbf1660 range: Eliminate direct Range member access
Users of struct Range mess liberally with its members, which makes
refactoring hard.  Create a set of methods, and convert all users to
call them instead of accessing members.  The methods have carefully
worded contracts, and use assertions to check them.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-07-04 16:49:33 +03:00
..
apb.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
bonito.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
gpex.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
grackle.c
Makefile.objs
pam.c
piix.c range: Eliminate direct Range member access 2016-07-04 16:49:33 +03:00
ppce500.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
prep.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
q35.c range: Eliminate direct Range member access 2016-07-04 16:49:33 +03:00
uninorth.c coccinelle: Remove unnecessary variables for function return value 2016-06-20 16:38:13 +02:00
versatile.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00