Files
xemu/include
David Hildenbrand f3b0b626f6 range: add some more functions
Add some more functions that will be used in memory-device context.

range_init(): Init using lower bound and size, check for validity
range_init_nofail(): Init using lower bound and size, validity asserted
range_size(): Extract the size of a range
range_overlaps_range(): Check for overlaps of two ranges
range_contains_range(): Check if one range is contained in the other

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20181214131043.25071-2-david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2019-01-09 22:09:31 -02:00
..
2019-01-04 17:34:58 -06:00
2018-12-26 06:40:24 +11:00
2019-01-09 09:28:14 +11:00
2018-11-27 15:35:15 +01:00
2018-12-04 11:06:15 +00:00
2019-01-09 22:09:31 -02:00
2018-12-14 11:52:41 +01:00
2018-10-12 11:32:18 +02:00
2018-12-26 06:40:02 +11:00