qemu-e2k/hw/vfio
Alex Williamson 0e54f24a5b vfio/pci: Config window quirks
Config windows make use of an address register and a data register.
In VGA cards, these are often used to provide real mode code in the
BIOS an easy way to access MMIO registers since the window often
resides in an I/O port register.  When the MMIO register has a mirror
of PCI config space, we need to trap those accesses and redirect them
to emulated config space.

The previous version of this functionality made use of a single
MemoryRegion and single match address.  This version uses separate
MemoryRegions for each of the address and data registers and allows
for multiple match addresses.  This is useful for Nvidia cards which
have two ranges which index into PCI config space.

The previous implementation is left for the follow-on patch for a more
reviewable diff.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2015-09-23 13:04:48 -06:00
..
Makefile.objs vfio/pci: Split quirks to a separate file 2015-09-23 13:04:45 -06:00
calxeda-xgmac.c hw/vfio/platform: calxeda xgmac device 2015-06-09 08:17:17 -06:00
common.c vfio: Change polarity of our no-mmap option 2015-09-23 13:04:44 -06:00
pci-quirks.c vfio/pci: Config window quirks 2015-09-23 13:04:48 -06:00
pci.c vfio/pci: Split quirks to a separate file 2015-09-23 13:04:45 -06:00
pci.h vfio/pci: Foundation for new quirk structure 2015-09-23 13:04:46 -06:00
platform.c vfio: Change polarity of our no-mmap option 2015-09-23 13:04:44 -06:00