summaryrefslogtreecommitdiff
path: root/dev/tsunami_cchip.hh
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2004-01-27 21:36:46 -0500
committerRon Dreslinski <rdreslin@umich.edu>2004-01-27 21:36:46 -0500
commit3ccc0b1f968e3efaeccda65e06f862c899678312 (patch)
tree56244532839df17d2eebf7c8dc2a2b010565a2e8 /dev/tsunami_cchip.hh
parent6f3c09a12c7120b518e1c41d995094538b120ba0 (diff)
downloadgem5-3ccc0b1f968e3efaeccda65e06f862c899678312.tar.xz
Add support for RTC to interrupt, HACK in alpha_console temporary
dev/alpha_console.cc: Fix reference to tlaserclock, HACK FOR NOW dev/alpha_console.hh: fix reference to tlaser_clock, HACK FOR NOW dev/tsunami.cc: Add proper tsunami chip pointers dev/tsunami.hh: add proper tsunami chip pointers add RTC interrupt capabilities dev/tsunami_cchip.cc: Add proper Interrupt for RTC dev/tsunami_cchip.hh: Add proper interrupt for RTC dev/tsunami_io.cc: dev/tsunami_io.hh: Make RTC interrupt dev/tsunami_pchip.cc: dev/tsunami_pchip.hh: Add back pointer to tsunami --HG-- extra : convert_revision : 2b0a8616b0bed8d9962ee5ca643dce56b9922d52
Diffstat (limited to 'dev/tsunami_cchip.hh')
-rw-r--r--dev/tsunami_cchip.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev/tsunami_cchip.hh b/dev/tsunami_cchip.hh
index b5b2d194c..287fbdf70 100644
--- a/dev/tsunami_cchip.hh
+++ b/dev/tsunami_cchip.hh
@@ -50,7 +50,7 @@ class TsunamiCChip : public MmapDevice
uint64_t drir;
public:
- TsunamiCChip(const std::string &name, /*Tsunami *t,*/
+ TsunamiCChip(const std::string &name, Tsunami *t,
Addr addr, Addr mask, MemoryController *mmu);
virtual Fault read(MemReqPtr req, uint8_t *data);
@@ -58,6 +58,9 @@ class TsunamiCChip : public MmapDevice
virtual void serialize(std::ostream &os);
virtual void unserialize(Checkpoint *cp, const std::string &section);
+
+ uint64_t misc;
+ bool RTCInterrupting;
};
#endif // __TSUNAMI_CCHIP_HH__