From d08e1bc56999d9529915f994d86d23518fa7a36b Mon Sep 17 00:00:00 2001 From: Andrew Schultz Date: Tue, 3 Feb 2004 16:59:40 -0500 Subject: Fix to support redefinition of functional_memory base class --HG-- extra : convert_revision : c06b2cfd2787022ee5dc664886873a9afa459434 --- dev/tsunami_io.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/tsunami_io.cc') diff --git a/dev/tsunami_io.cc b/dev/tsunami_io.cc index c6447cf64..79fc4cb51 100644 --- a/dev/tsunami_io.cc +++ b/dev/tsunami_io.cc @@ -121,7 +121,7 @@ TsunamiIO::set_time(time_t t) } Fault -TsunamiIO::read(MemReqPtr req, uint8_t *data) +TsunamiIO::read(MemReqPtr &req, uint8_t *data) { DPRINTF(Tsunami, "io read va=%#x size=%d IOPorrt=%#x\n", req->vaddr, req->size, req->vaddr & 0xfff); @@ -192,7 +192,7 @@ TsunamiIO::read(MemReqPtr req, uint8_t *data) } Fault -TsunamiIO::write(MemReqPtr req, const uint8_t *data) +TsunamiIO::write(MemReqPtr &req, const uint8_t *data) { uint8_t dt = *(uint8_t*)data; uint64_t dt64 = dt; -- cgit v1.2.3