diff options
Diffstat (limited to 'dev/tsunami_io.cc')
-rw-r--r-- | dev/tsunami_io.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dev/tsunami_io.cc b/dev/tsunami_io.cc index cfa91a67d..c6447cf64 100644 --- a/dev/tsunami_io.cc +++ b/dev/tsunami_io.cc @@ -194,8 +194,11 @@ TsunamiIO::read(MemReqPtr req, uint8_t *data) Fault TsunamiIO::write(MemReqPtr req, const uint8_t *data) { - DPRINTF(Tsunami, "io write - va=%#x size=%d IOPort=%#x\n", - req->vaddr, req->size, req->vaddr & 0xfff); + uint8_t dt = *(uint8_t*)data; + uint64_t dt64 = dt; + + DPRINTF(Tsunami, "io write - va=%#x size=%d IOPort=%#x Data=%#x\n", + req->vaddr, req->size, req->vaddr & 0xfff, dt64); Addr daddr = (req->paddr & addr_mask); |