NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HostRtc Class Reference

Readout the current time+date from the RTC. More...

Inheritance diagram for HostRtc:
StaticReceiver< HostRtc > BasicRtc Device

Public Member Functions

bool receive (MessageTime &msg)
 HostRtc (DBus< MessageHwIOIn > &bus_hwioin, DBus< MessageHwIOOut > &bus_hwioout, Clock *clock, unsigned iobase)
- Public Member Functions inherited from StaticReceiver< HostRtc >
 StaticReceiver ()
- Public Member Functions inherited from Device
void debug_dump ()
 Device (const char *debug_name)

Private Attributes

timevalue _wallclocktime
timevalue _timestamp

Additional Inherited Members

- Static Public Member Functions inherited from StaticReceiver< HostRtc >
static bool receive_static (Device *o, M &msg)
- Private Member Functions inherited from BasicRtc
void rtc_sync (Clock *clock)
timevalue rtc_wallclock ()
 Return seconds*FREQUENCY since epoch.
 BasicRtc (DBus< MessageHwIOIn > &bus_hwioin, DBus< MessageHwIOOut > &bus_hwioout, unsigned iobase)
unsigned char rtc_read (unsigned index)

Detailed Description

Readout the current time+date from the RTC.

State: stable Documentation: rtc82885.pdf, MC146818AS.pdf, Intel ICH{3-7} documentation

Constructor & Destructor Documentation

HostRtc::HostRtc ( DBus< MessageHwIOIn > &  bus_hwioin,
DBus< MessageHwIOOut > &  bus_hwioout,
Clock clock,
unsigned  iobase 
)
inline

Member Function Documentation

bool HostRtc::receive ( MessageTime msg)
inline

Member Data Documentation

timevalue HostRtc::_timestamp
private
timevalue HostRtc::_wallclocktime
private

The documentation for this class was generated from the following file: