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)
commite8204278429a4a06edf09b60ef4cc981b80ce7b3
tree98c3ea5dff30e777abc493c8bca17ad0d5577a1a
parent75159b4bbe703348225eb97a4b0f76544d1e3b3d
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