gem5
|
#include <tsunami_io.hh>
Public Member Functions | |
RTC (const std::string &n, const TsunamiIOParams *p) | |
Public Member Functions inherited from MC146818 | |
MC146818 (EventManager *em, const std::string &name, const struct tm time, bool bcd, Tick frequency) | |
virtual | ~MC146818 () |
virtual void | startup () |
Start ticking. More... | |
void | writeData (const uint8_t addr, const uint8_t data) |
RTC write data. More... | |
uint8_t | readData (const uint8_t addr) |
RTC read data. More... | |
void | tickClock () |
void | serialize (const std::string &base, CheckpointOut &cp) const |
Serialize this object to the given output stream. More... | |
void | unserialize (const std::string &base, CheckpointIn &cp) |
Reconstruct the state of this object from a checkpoint. More... | |
Public Member Functions inherited from EventManager | |
EventManager (EventManager &em) | |
EventManager (EventManager *em) | |
EventManager (EventQueue *eq) | |
EventQueue * | eventQueue () const |
void | schedule (Event &event, Tick when) |
void | deschedule (Event &event) |
void | reschedule (Event &event, Tick when, bool always=false) |
void | schedule (Event *event, Tick when) |
void | deschedule (Event *event) |
void | reschedule (Event *event, Tick when, bool always=false) |
void | wakeupEventQueue (Tick when=(Tick)-1) |
void | setCurTick (Tick newVal) |
Public Attributes | |
Tsunami * | tsunami |
Protected Member Functions | |
void | handleEvent () |
Additional Inherited Members | |
Protected Attributes inherited from EventManager | |
EventQueue * | eventq |
A pointer to this object's event queue. More... | |
Definition at line 57 of file tsunami_io.hh.
TsunamiIO::RTC::RTC | ( | const std::string & | n, |
const TsunamiIOParams * | p | ||
) |
Definition at line 66 of file tsunami_io.cc.
|
inlineprotectedvirtual |
Reimplemented from MC146818.
Definition at line 64 of file tsunami_io.hh.
References Tsunami::cchip, TsunamiCChip::postRTC(), and tsunami.
Tsunami* TsunamiIO::RTC::tsunami |
Definition at line 60 of file tsunami_io.hh.
Referenced by handleEvent().