gem5 v24.0.0.0
|
#include <malta_io.hh>
Public Member Functions | |
RTC (const std::string &name, const MaltaIOParams &p) | |
Public Member Functions inherited from gem5::MC146818 | |
MC146818 (EventManager *em, const std::string &name, const struct tm time, bool bcd, Tick frequency) | |
virtual | ~MC146818 () |
virtual void | startup () |
Start ticking. | |
void | writeData (const uint8_t addr, const uint8_t data) |
RTC write data. | |
uint8_t | readData (const uint8_t addr) |
RTC read data. | |
void | tickClock () |
void | serialize (const std::string &base, CheckpointOut &cp) const |
Serialize this object to the given output stream. | |
void | unserialize (const std::string &base, CheckpointIn &cp) |
Reconstruct the state of this object from a checkpoint. | |
Public Member Functions inherited from gem5::EventManager | |
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) |
This function is not needed by the usual gem5 event loop but may be necessary in derived EventQueues which host gem5 on other schedulers. | |
void | setCurTick (Tick newVal) |
EventManager (EventManager &em) | |
Event manger manages events in the event queue. | |
EventManager (EventManager *em) | |
EventManager (EventQueue *eq) | |
Public Attributes | |
Malta * | malta |
Protected Member Functions | |
void | handleEvent () |
Additional Inherited Members | |
Protected Attributes inherited from gem5::EventManager | |
EventQueue * | eventq |
A pointer to this object's event queue. | |
Definition at line 55 of file malta_io.hh.
gem5::MaltaIO::RTC::RTC | ( | const std::string & | name, |
const MaltaIOParams & | p ) |
Definition at line 57 of file malta_io.cc.
|
inlineprotectedvirtual |
Reimplemented from gem5::MC146818.
Definition at line 62 of file malta_io.hh.
References gem5::Malta::cchip, malta, and gem5::MaltaCChip::postRTC().
Malta* gem5::MaltaIO::RTC::malta |
Definition at line 58 of file malta_io.hh.
Referenced by handleEvent().