summary refs log tree commit diff stats
path: root/hw/pci-host/designware.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2023-10-19 15:45:14 +0200
committerCédric Le Goater <clg@redhat.com>2023-11-03 09:20:31 +0100
commitb439595a08d79120325de4684698bb7b6516aa8a (patch)
tree200d2130e1868c97b5288a28d13a1872a5fb2a8c /hw/pci-host/designware.c
parent908cae0de4fd63a58f5a7dc447f843a5be9cff46 (diff)
downloadfocaccia-qemu-b439595a08d79120325de4684698bb7b6516aa8a.tar.gz
focaccia-qemu-b439595a08d79120325de4684698bb7b6516aa8a.zip
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>
Diffstat (limited to 'hw/pci-host/designware.c')
0 files changed, 0 insertions, 0 deletions