summaryrefslogtreecommitdiff
path: root/src/dev/alpha
diff options
context:
space:
mode:
authorStephen Hines <hines@cs.fsu.edu>2008-02-06 16:32:40 -0500
committerStephen Hines <hines@cs.fsu.edu>2008-02-06 16:32:40 -0500
commit6cc1573923754ecb406d03ab4d807f928737c294 (patch)
tree08e407623fedf71b04b128eb93734d4f51988b36 /src/dev/alpha
parent0ccf9a2c3751f160d7d51153ef468a60b4daf8d0 (diff)
downloadgem5-6cc1573923754ecb406d03ab4d807f928737c294.tar.xz
Make the Event::description() a const function
--HG-- extra : convert_revision : c7768d54d3f78685e93920069f5485083ca989c0
Diffstat (limited to 'src/dev/alpha')
-rw-r--r--src/dev/alpha/tsunami_io.cc4
-rw-r--r--src/dev/alpha/tsunami_io.hh4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dev/alpha/tsunami_io.cc b/src/dev/alpha/tsunami_io.cc
index e1ca1c84c..710aca48d 100644
--- a/src/dev/alpha/tsunami_io.cc
+++ b/src/dev/alpha/tsunami_io.cc
@@ -205,7 +205,7 @@ TsunamiIO::RTC::RTCEvent::process()
}
const char *
-TsunamiIO::RTC::RTCEvent::description()
+TsunamiIO::RTC::RTCEvent::description() const
{
return "tsunami RTC interrupt";
}
@@ -429,7 +429,7 @@ TsunamiIO::PITimer::Counter::CounterEvent::process()
}
const char *
-TsunamiIO::PITimer::Counter::CounterEvent::description()
+TsunamiIO::PITimer::Counter::CounterEvent::description() const
{
return "tsunami 8254 Interval timer";
}
diff --git a/src/dev/alpha/tsunami_io.hh b/src/dev/alpha/tsunami_io.hh
index 5083604f8..05c4ee910 100644
--- a/src/dev/alpha/tsunami_io.hh
+++ b/src/dev/alpha/tsunami_io.hh
@@ -73,7 +73,7 @@ class TsunamiIO : public BasicPioDevice
virtual void process();
/** Event description */
- virtual const char *description();
+ virtual const char *description() const;
};
private:
@@ -161,7 +161,7 @@ class TsunamiIO : public BasicPioDevice
virtual void process();
/** Event description */
- virtual const char *description();
+ virtual const char *description() const;
friend class Counter;
};