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/eepro100.c | |
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/eepro100.c')
-rw-r--r-- | hw/eepro100.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/eepro100.c b/hw/eepro100.c index 55e7717..ba8cdf6 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c @@ -1388,7 +1388,8 @@ static void pci_map(PCIDevice * pci_dev, int region_num, { EEPRO100State *s = DO_UPCAST(EEPRO100State, dev, pci_dev); - TRACE(OTHER, logout("region %d, addr=0x%08x, size=0x%08x, type=%d\n", + TRACE(OTHER, logout("region %d, addr=0x%08"FMT_PCIBUS", " + "size=0x%08"FMT_PCIBUS", type=%d\n", region_num, addr, size, type)); assert(region_num == 1); @@ -1467,7 +1468,8 @@ static void pci_mmio_map(PCIDevice * pci_dev, int region_num, { EEPRO100State *s = DO_UPCAST(EEPRO100State, dev, pci_dev); - TRACE(OTHER, logout("region %d, addr=0x%08x, size=0x%08x, type=%d\n", + TRACE(OTHER, logout("region %d, addr=0x%08"FMT_PCIBUS", " + "size=0x%08"FMT_PCIBUS", type=%d\n", region_num, addr, size, type)); if (region_num == 0) { |