From 3ccc0b1f968e3efaeccda65e06f862c899678312 Mon Sep 17 00:00:00 2001 From: Ron Dreslinski Date: Tue, 27 Jan 2004 21:36:46 -0500 Subject: 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 --- dev/tsunami_cchip.hh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dev/tsunami_cchip.hh') 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 §ion); + + uint64_t misc; + bool RTCInterrupting; }; #endif // __TSUNAMI_CCHIP_HH__ -- cgit v1.2.3