Public Member Functions | Friends

Rtc146818 Class Reference

MC146818A Realtime Clock and CMOS emulation. More...

Inheritance diagram for Rtc146818:
StaticReceiver< Rtc146818 > Device

List of all members.

Public Member Functions

void reset (MessageTime &time)
bool receive (MessageIOIn &msg)
bool receive (MessageIOOut &msg)
bool receive (MessageIrqNotify &msg)
bool receive (MessageTimeout &msg)
 Rtc146818 (DBus< MessageTimer > &bus_timer, DBus< MessageIrq > &bus_irqlines, Clock *clock, unsigned timer, unsigned short iobase, unsigned irq)

Friends

class RtcTest

Detailed Description

MC146818A Realtime Clock and CMOS emulation.

Copyright (C) 2009, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)

This file is part of Vancouver.

Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details. Device model for the MC146818 realtime clock.

State: testing Features: 128byte RAM, gettime, updatetime, UIE, alarm, periodic-irqs, divider Missing: daylight-saving Unused: sqw-output Documentation: rtc82885.pdf, MC146818AS.pdf, Intel ICH{3-7} documentation


Constructor & Destructor Documentation

Rtc146818::Rtc146818 ( DBus< MessageTimer > &  bus_timer,
DBus< MessageIrq > &  bus_irqlines,
Clock clock,
unsigned  timer,
unsigned short  iobase,
unsigned  irq 
) [inline]

Member Function Documentation

bool Rtc146818::receive ( MessageIOIn msg  )  [inline]
bool Rtc146818::receive ( MessageTimeout msg  )  [inline]
bool Rtc146818::receive ( MessageIrqNotify msg  )  [inline]
bool Rtc146818::receive ( MessageIOOut msg  )  [inline]
void Rtc146818::reset ( MessageTime time  )  [inline]

Friends And Related Function Documentation

friend class RtcTest [friend]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines