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

An implementation of the Intel 8254. More...

Inheritance diagram for PitDevice:
StaticReceiver< PitDevice > Device

Public Member Functions

bool receive (MessagePit &msg)
bool receive (MessageIOIn &msg)
bool receive (MessageIOOut &msg)
 PitDevice (Motherboard &mb, unsigned short base, unsigned irq, unsigned pit)
- Public Member Functions inherited from StaticReceiver< PitDevice >
 StaticReceiver ()
- Public Member Functions inherited from Device
void debug_dump ()
 Device (const char *debug_name)

Private Attributes

unsigned short _base
unsigned _addr
PitCounter _c [COUNTER]

Static Private Attributes

static const unsigned COUNTER = 3

Friends

class PitTest

Additional Inherited Members

- Static Public Member Functions inherited from StaticReceiver< PitDevice >
static bool receive_static (Device *o, M &msg)

Detailed Description

An implementation of the Intel 8254.

State: stable

Constructor & Destructor Documentation

PitDevice::PitDevice ( Motherboard mb,
unsigned short  base,
unsigned  irq,
unsigned  pit 
)
inline

Member Function Documentation

bool PitDevice::receive ( MessagePit msg)
inline
bool PitDevice::receive ( MessageIOIn msg)
inline
bool PitDevice::receive ( MessageIOOut msg)
inline

Friends And Related Function Documentation

friend class PitTest
friend

Member Data Documentation

unsigned PitDevice::_addr
private
unsigned short PitDevice::_base
private
PitCounter PitDevice::_c[COUNTER]
private
const unsigned PitDevice::COUNTER = 3
staticprivate

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