struct Range
Defined at line 165 of file ../../zircon/kernel/phys/lib/memalloc/include/lib/memalloc/range.h
A memory range type that is layout-compatible to zbi_mem_range_t, but with
the benefit of being able to use allocated types.
Public Members
uint64_t addr
uint64_t size
Type type
Public Methods
uint64_t end ()
The end of the memory range. This method may only be called if addr + size
has been normalized to not overflow.
Defined at line 172 of file ../../zircon/kernel/phys/lib/memalloc/include/lib/memalloc/range.h
bool operator== (const Range & other)
Defined at line 174 of file ../../zircon/kernel/phys/lib/memalloc/include/lib/memalloc/range.h
bool operator!= (const Range & other)
Defined at line 177 of file ../../zircon/kernel/phys/lib/memalloc/include/lib/memalloc/range.h
bool operator< (const Range & other)
Gives a lexicographic order on Range.
Defined at line 180 of file ../../zircon/kernel/phys/lib/memalloc/include/lib/memalloc/range.h
bool IntersectsWith (const Range & other)
Defined at line 184 of file ../../zircon/kernel/phys/lib/memalloc/include/lib/memalloc/range.h