summaryrefslogtreecommitdiffstats
path: root/include/qemu/range.h
Commit message (Collapse)AuthorAgeFilesLines
* Introduce signed range.Hu Tao2014-06-191-0/+72
| | | | | | | | | Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> MST: split up patch
* range: add min/max operations on rangesMichael S. Tsirkin2013-09-151-0/+18
| | | | Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* range: add Range to typedefsMichael S. Tsirkin2013-09-151-1/+1
| | | | | | will help simplify header dependencies. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* range: add Range structureMichael S. Tsirkin2013-07-041-0/+16
| | | | | | | | | | | | | Sometimes we need to pass ranges around, add a handy structure for this purpose. Note: memory.c defines its own concept of AddrRange structure for working with 128 addresses. It's necessary there for doing range math. This is not needed for most users: struct Range is much simpler, and is only used for passing the range around. Cc: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* misc: move include files to include/qemu/Paolo Bonzini2012-12-191-0/+29
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
OpenPOWER on IntegriCloud