summaryrefslogtreecommitdiff
path: root/src/dev/tsunami_io.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2006-05-28 22:21:57 -0400
committerAli Saidi <saidi@eecs.umich.edu>2006-05-28 22:21:57 -0400
commitde20b819f1dc90c83a3050c9f26b89871f38779c (patch)
tree8ae4ed02eb5ae4b67aacc7adbdb600221ac22009 /src/dev/tsunami_io.hh
parent5df77b865ddc29a00629a679437dee2578997559 (diff)
downloadgem5-de20b819f1dc90c83a3050c9f26b89871f38779c.tar.xz
remove some getPtr() calls by changing having function return values
instead of taking a pointer --HG-- extra : convert_revision : fd9092eaa726e91b501334d35d28dda28aaa01bd
Diffstat (limited to 'src/dev/tsunami_io.hh')
-rw-r--r--src/dev/tsunami_io.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/tsunami_io.hh b/src/dev/tsunami_io.hh
index 4e4fb2036..71ca0d98f 100644
--- a/src/dev/tsunami_io.hh
+++ b/src/dev/tsunami_io.hh
@@ -118,7 +118,7 @@ class TsunamiIO : public BasicPioDevice
void writeData(const uint8_t data);
/** RTC read data */
- void readData(uint8_t *data);
+ uint8_t readData();
/**
* Serialize this object to the given output stream.
@@ -207,7 +207,7 @@ class TsunamiIO : public BasicPioDevice
void setBCD(int bcd_val);
/** Read a count byte */
- void read(uint8_t *data);
+ uint8_t read();
/** Write a count byte */
void write(const uint8_t data);