summaryrefslogtreecommitdiff
path: root/dev/tsunami.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-06-01 17:36:38 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-06-01 17:36:38 -0400
commit6010f637ff125b25ce7ee0189a08e55b9b2de331 (patch)
tree41acc26973bb7f98ba19f8f5a45e0778529cff57 /dev/tsunami.hh
parentcaf5cad959d8c75095590e0e6e1a9ed1f243366e (diff)
downloadgem5-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.hh')
-rw-r--r--dev/tsunami.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev/tsunami.hh b/dev/tsunami.hh
index c5dbe797b..a237a8035 100644
--- a/dev/tsunami.hh
+++ b/dev/tsunami.hh
@@ -96,6 +96,12 @@ class Tsunami : public Platform
PciConfigAll *pci, int intrFreq);
/**
+ * Return the interrupting frequency to AlphaAccess
+ * @return frequency of RTC interrupts
+ */
+ virtual Tick intrFrequency();
+
+ /**
* Cause the cpu to post a serial interrupt to the CPU.
*/
virtual void postConsoleInt();