diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2004-06-01 17:36:38 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2004-06-01 17:36:38 -0400 |
commit | 6010f637ff125b25ce7ee0189a08e55b9b2de331 (patch) | |
tree | 41acc26973bb7f98ba19f8f5a45e0778529cff57 /dev/tsunami_io.hh | |
parent | caf5cad959d8c75095590e0e6e1a9ed1f243366e (diff) | |
download | gem5-6010f637ff125b25ce7ee0189a08e55b9b2de331.tar.xz |
Removed dynamic cast to get interrupt frequency and replaced with a
virtual function in alphaaccess.cc
dev/alpha_console.cc:
dev/alpha_console.hh:
dev/platform.hh:
dev/tsunami.cc:
dev/tsunami.hh:
dev/tsunami_io.hh:
Removed dynamic cast to get interrupt frequency and replaced with a
virtual function
--HG--
extra : convert_revision : 01f514a33d8f76c6527ab25a713d5c86f9fd646e
Diffstat (limited to 'dev/tsunami_io.hh')
-rw-r--r-- | dev/tsunami_io.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dev/tsunami_io.hh b/dev/tsunami_io.hh index 1dd7762e3..62af2153b 100644 --- a/dev/tsunami_io.hh +++ b/dev/tsunami_io.hh @@ -192,8 +192,11 @@ class TsunamiIO : public FunctionalMemory public: - /** Return the freqency of the RTC */ - uint32_t frequency() const { return RTC_RATE; } + /** + * Return the freqency of the RTC + * @return interrupt rate of the RTC + */ + Tick frequency() const { return RTC_RATE; } /** |