Home
last modified time | relevance | path

Searched hist:b439595a08d79120325de4684698bb7b6516aa8a (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/util/
H A Drange.cdiff b439595a08d79120325de4684698bb7b6516aa8a Thu Oct 19 08:45:14 CDT 2023 Eric Auger <eric.auger@redhat.com> range: Introduce range_inverse_array()

This helper reverses a list of regions within a [low, high]
span, turning original regions into holes and original
holes into actual regions, covering the whole UINT64_MAX span.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Yanghang Liu <yanghliu@redhat.com>
Reviewed-by: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
/openbmc/qemu/include/qemu/
H A Drange.hdiff b439595a08d79120325de4684698bb7b6516aa8a Thu Oct 19 08:45:14 CDT 2023 Eric Auger <eric.auger@redhat.com> range: Introduce range_inverse_array()

This helper reverses a list of regions within a [low, high]
span, turning original regions into holes and original
holes into actual regions, covering the whole UINT64_MAX span.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Yanghang Liu <yanghliu@redhat.com>
Reviewed-by: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>