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.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev/tsunami_io.hh b/dev/tsunami_io.hh
index 9706dea25..97589e5f0 100644
--- a/dev/tsunami_io.hh
+++ b/dev/tsunami_io.hh
@@ -90,6 +90,9 @@ class TsunamiIO : public MmapDevice
uint8_t mode1;
uint8_t mode2;
+ uint8_t picr; //Raw PIC interrput register, before masking
+ bool picInterrupting;
+
Tsunami *tsunami;
/* This timer is initilized, but after I wrote the code
@@ -121,6 +124,9 @@ class TsunamiIO : public MmapDevice
virtual Fault read(MemReqPtr req, uint8_t *data);
virtual Fault write(MemReqPtr req, const uint8_t *data);
+ void postPIC(uint8_t bitvector);
+ void clearPIC(uint8_t bitvector);
+
virtual void serialize(std::ostream &os);
virtual void unserialize(Checkpoint *cp, const std::string &section);
};