summaryrefslogtreecommitdiff
path: root/src/dev/mips
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/mips
parent0ccf9a2c3751f160d7d51153ef468a60b4daf8d0 (diff)
downloadgem5-6cc1573923754ecb406d03ab4d807f928737c294.tar.xz
Make the Event::description() a const function
--HG-- extra : convert_revision : c7768d54d3f78685e93920069f5485083ca989c0
Diffstat (limited to 'src/dev/mips')
-rwxr-xr-xsrc/dev/mips/malta_io.cc4
-rwxr-xr-xsrc/dev/mips/malta_io.hh4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dev/mips/malta_io.cc b/src/dev/mips/malta_io.cc
index bf7afa63b..b56694f1e 100755
--- a/src/dev/mips/malta_io.cc
+++ b/src/dev/mips/malta_io.cc
@@ -208,7 +208,7 @@ MaltaIO::RTC::RTCEvent::process()
}
const char *
-MaltaIO::RTC::RTCEvent::description()
+MaltaIO::RTC::RTCEvent::description() const
{
return "malta RTC interrupt";
}
@@ -461,7 +461,7 @@ MaltaIO::PITimer::Counter::CounterEvent::process()
}
const char *
-MaltaIO::PITimer::Counter::CounterEvent::description()
+MaltaIO::PITimer::Counter::CounterEvent::description() const
{
return "malta 8254 Interval timer";
}
diff --git a/src/dev/mips/malta_io.hh b/src/dev/mips/malta_io.hh
index 791d49d60..e24a1d8cb 100755
--- a/src/dev/mips/malta_io.hh
+++ b/src/dev/mips/malta_io.hh
@@ -79,7 +79,7 @@ class MaltaIO : public BasicPioDevice
virtual void process();
/** Event description */
- virtual const char *description();
+ virtual const char *description() const;
};
private:
@@ -171,7 +171,7 @@ class MaltaIO : public BasicPioDevice
virtual void process();
/** Event description */
- virtual const char *description();
+ virtual const char *description() const;
friend class Counter;
};