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 | c81fd21cb68ff1c76e95a525c1d99ee5e2ecc99d (patch) | |
tree | 07eb02fc59232108ad00f69c2d8070f92ed762ae /hw/e1000.c | |
parent | 6fc266fe9f5859017b7a3d8bce40f38ccf86a33d (diff) | |
download | qemu-c81fd21cb68ff1c76e95a525c1d99ee5e2ecc99d.tar.gz qemu-c81fd21cb68ff1c76e95a525c1d99ee5e2ecc99d.tar.bz2 qemu-c81fd21cb68ff1c76e95a525c1d99ee5e2ecc99d.zip |
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/e1000.c')
-rw-r--r-- | hw/e1000.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/e1000.c b/hw/e1000.c index 7b70fbaca7..9df903ba4b 100644 --- a/hw/e1000.c +++ b/hw/e1000.c @@ -148,7 +148,8 @@ static void ioport_map(PCIDevice *pci_dev, int region_num, pcibus_t addr, pcibus_t size, int type) { - DBGOUT(IO, "e1000_ioport_map addr=0x%04x size=0x%08x\n", addr, size); + DBGOUT(IO, "e1000_ioport_map addr=0x%04"FMT_PCIBUS + " size=0x%08"FMT_PCIBUS"\n", addr, size); } static void @@ -1021,7 +1022,8 @@ e1000_mmio_map(PCIDevice *pci_dev, int region_num, }; - DBGOUT(MMIO, "e1000_mmio_map addr=0x%08x 0x%08x\n", addr, size); + DBGOUT(MMIO, "e1000_mmio_map addr=0x%08"FMT_PCIBUS" 0x%08"FMT_PCIBUS"\n", + addr, size); cpu_register_physical_memory(addr, PNPMMIO_SIZE, d->mmio_index); qemu_register_coalesced_mmio(addr, excluded_regs[0]); |