summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-29 09:03:43 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-29 09:03:43 +0000
commit9ed1e6671cce91cb29fc8e6c1f878b0205214b09 (patch)
tree043dbeb567d12edfa4ff20eb2d97bc85c1621934
parentee76f82edb8ec8d68c93f1f6eff95793cdb28c74 (diff)
downloadqemu-9ed1e6671cce91cb29fc8e6c1f878b0205214b09.tar.gz
Make debug printing consistent (Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3871 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/m48t59.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/m48t59.c b/hw/m48t59.c
index 57291faa9a..6c54c9e6ab 100644
--- a/hw/m48t59.c
+++ b/hw/m48t59.c
@@ -451,7 +451,7 @@ uint32_t m48t59_read (void *opaque, uint32_t addr)
break;
}
if (addr > 0x1FF9 && addr < 0x2000)
- NVRAM_PRINTF("0x%08x <= 0x%08x\n", addr, retval);
+ NVRAM_PRINTF("%s: 0x%08x <= 0x%08x\n", __func__, addr, retval);
return retval;
}
@@ -476,7 +476,7 @@ static void NVRAM_writeb (void *opaque, uint32_t addr, uint32_t val)
m48t59_t *NVRAM = opaque;
addr -= NVRAM->io_base;
- NVRAM_PRINTF("0x%08x => 0x%08x\n", addr, val);
+ NVRAM_PRINTF("%s: 0x%08x => 0x%08x\n", __func__, addr, val);
switch (addr) {
case 0:
NVRAM->addr &= ~0x00FF;
@@ -509,7 +509,7 @@ static uint32_t NVRAM_readb (void *opaque, uint32_t addr)
retval = -1;
break;
}
- NVRAM_PRINTF("0x%08x <= 0x%08x\n", addr, retval);
+ NVRAM_PRINTF("%s: 0x%08x <= 0x%08x\n", __func__, addr, retval);
return retval;
}