projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
109cc2c
)
mem: minor dprintf fix to abstract mem
author
Brad Beckmann
<Brad.Beckmann@amd.com>
Thu, 29 Sep 2016 05:06:33 +0000
(
01:06
-0400)
committer
Brad Beckmann
<Brad.Beckmann@amd.com>
Thu, 29 Sep 2016 05:06:33 +0000
(
01:06
-0400)
print number of bytes written as a decimal number, not hex
src/mem/abstract_mem.cc
patch
|
blob
|
history
diff --git
a/src/mem/abstract_mem.cc
b/src/mem/abstract_mem.cc
index 1797deae83c0b8a265036090236e14c7e4ee4a4b..75c5b559b6897437d535f63fe9bf1f0bc4d06a5e 100644
(file)
--- a/
src/mem/abstract_mem.cc
+++ b/
src/mem/abstract_mem.cc
@@
-406,7
+406,7
@@
AbstractMemory::access(PacketPtr pkt)
if (writeOK(pkt)) {
if (pmemAddr) {
memcpy(hostAddr, pkt->getConstPtr<uint8_t>(), pkt->getSize());
- DPRINTF(MemoryAccess, "%s wrote %
x
bytes to address %x\n",
+ DPRINTF(MemoryAccess, "%s wrote %
i
bytes to address %x\n",
__func__, pkt->getSize(), pkt->getAddr());
}
assert(!pkt->req->isInstFetch());