diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-10-30 21:21:09 +0900 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-11-09 08:43:08 -0600 |
commit | 89e8b13c530a9375c43e617c09d07d78d7065926 (patch) | |
tree | 07eb02fc59232108ad00f69c2d8070f92ed762ae /hw/pci.h | |
parent | 6e355d901baec118f0eb40ecd75a4278625f5d03 (diff) | |
download | qemu-89e8b13c530a9375c43e617c09d07d78d7065926.zip qemu-89e8b13c530a9375c43e617c09d07d78d7065926.tar.gz qemu-89e8b13c530a9375c43e617c09d07d78d7065926.tar.bz2 |
pci: introduce FMT_PCIBUS for printf format for pcibus_t.
This patch is preliminary for 64bit BAR.
Later pcibus_t will be changed from uint32_t to uint64_t.
Introduce FMT_PCIBUS for printf format for pcibus_t.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r-- | hw/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -72,6 +72,7 @@ extern target_phys_addr_t pci_mem_base; #define PCI_DEVICE_ID_VIRTIO_CONSOLE 0x1003 typedef uint32_t pcibus_t; +#define FMT_PCIBUS PRIx32 typedef void PCIConfigWriteFunc(PCIDevice *pci_dev, uint32_t address, uint32_t data, int len); |