qemu/pci: helper routines for pci access
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 21 Jun 2009 16:45:30 +0000 (19:45 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 24 Jun 2009 14:09:14 +0000 (09:09 -0500)
commit14e12559919195d817d94bc5590a8a26c70e2298
tree98c3ea5dff30e777abc493c8bca17ad0d5577a1a
parentb7ee1603c16c1feb0d439d2ddf6cf824119d0aab
qemu/pci: helper routines for pci access

Add inline routines for convenient access to pci devices
with correct (little) endianness. Will be used by MSI-X support.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci.h