diff options
Diffstat (limited to 'dev')
-rw-r--r-- | dev/alpha_console.cc | 4 | ||||
-rw-r--r-- | dev/alpha_console.hh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/dev/alpha_console.cc b/dev/alpha_console.cc index 8e59db932..e708be514 100644 --- a/dev/alpha_console.cc +++ b/dev/alpha_console.cc @@ -73,7 +73,7 @@ AlphaConsole::AlphaConsole(const string &name, SimConsole *cons, } Fault -AlphaConsole::read(MemReqPtr req, uint8_t *data) +AlphaConsole::read(MemReqPtr &req, uint8_t *data) { memset(data, 0, req->size); uint64_t val; @@ -109,7 +109,7 @@ AlphaConsole::read(MemReqPtr req, uint8_t *data) } Fault -AlphaConsole::write(MemReqPtr req, const uint8_t *data) +AlphaConsole::write(MemReqPtr &req, const uint8_t *data) { uint64_t val; diff --git a/dev/alpha_console.hh b/dev/alpha_console.hh index 9e774773e..c39b8e8d4 100644 --- a/dev/alpha_console.hh +++ b/dev/alpha_console.hh @@ -94,8 +94,8 @@ class AlphaConsole : public MmapDevice /** * memory mapped reads and writes */ - virtual Fault read(MemReqPtr req, uint8_t *data); - virtual Fault write(MemReqPtr req, const uint8_t *data); + virtual Fault read(MemReqPtr &req, uint8_t *data); + virtual Fault write(MemReqPtr &req, const uint8_t *data); /** * standard serialization routines for checkpointing |