summary refs log tree commit diff stats
path: root/rust/qemu-api/src/bitops.rs
diff options
context:
space:
mode:
authorTomita Moeko <tomitamoeko@gmail.com>2024-12-06 20:27:45 +0800
committerCédric Le Goater <clg@redhat.com>2024-12-26 07:23:37 +0100
commit1a2623b5c9e7cb6c9cc69dd4b467c9cbb1c98877 (patch)
tree504661961b2915c79c6007c24275948a56ca4ecd /rust/qemu-api/src/bitops.rs
parent960f62770ae4c603f92317166495e4a59cf051fc (diff)
downloadfocaccia-qemu-1a2623b5c9e7cb6c9cc69dd4b467c9cbb1c98877.tar.gz
focaccia-qemu-1a2623b5c9e7cb6c9cc69dd4b467c9cbb1c98877.zip
vfio/igd: add macro for declaring mirrored registers
igd devices have multipe registers mirroring mmio address and pci
config space, more than a single BDSM register. To support this,
the read/write functions are made common and a macro is defined to
simplify the declaration of MemoryRegionOps.

Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/r/20241206122749.9893-8-tomitamoeko@gmail.com
[ clg : Fixed conversion specifier on 32-bit platform ]
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/bitops.rs')
0 files changed, 0 insertions, 0 deletions