summaryrefslogtreecommitdiff
path: root/dev/tsunami_io.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dev/tsunami_io.hh')
-rw-r--r--dev/tsunami_io.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev/tsunami_io.hh b/dev/tsunami_io.hh
index 1336a703e..4e342523f 100644
--- a/dev/tsunami_io.hh
+++ b/dev/tsunami_io.hh
@@ -64,6 +64,19 @@ class TsunamiIO : public MmapDevice
};
+ class RTCEvent : public Event
+ {
+ protected:
+ Tick interval;
+ uint8_t rtc_uip;
+
+ public:
+ RTCEvent();
+
+ virtual void process();
+ virtual const char *description();
+ uint8_t rtc_uip_value();
+ };
uint8_t mask1;
uint8_t mask2;