mem: minor dprintf fix to abstract mem
print number of bytes written as a decimal number, not hex
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user