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

Power Management Timer. More...

Inheritance diagram for PmTimer:
DiscoveryHelper< PmTimer > StaticReceiver< PmTimer > Device

Public Member Functions

bool receive (MessageIOIn &msg)
void discovery ()
 PmTimer (Motherboard &mb, unsigned iobase)
- Public Member Functions inherited from StaticReceiver< PmTimer >
 StaticReceiver ()
- Public Member Functions inherited from Device
void debug_dump ()
 Device (const char *debug_name)

Public Attributes

Motherboard_mb

Private Types

enum  { FREQ = 3579545 }

Private Attributes

unsigned _iobase

Additional Inherited Members

- Static Public Member Functions inherited from DiscoveryHelper< PmTimer >
static bool discover (Device *o, MessageDiscovery &msg)
- Static Public Member Functions inherited from StaticReceiver< PmTimer >
static bool receive_static (Device *o, M &msg)
- Protected Member Functions inherited from DiscoveryHelper< PmTimer >
bool discovery_write_st (const char *resource, unsigned offset, const void *value, unsigned count)
bool discovery_write_dw (const char *resource, unsigned offset, unsigned value, unsigned count=4)
 Write a dword or less than it.
bool discovery_read_dw (const char *resource, unsigned offset, unsigned &value)
 Read a dword.
unsigned discovery_length (const char *resource, unsigned minlen)
 Return the length of an ACPI table or minlen if it is smaller.

Detailed Description

Power Management Timer.

State: unstable Features: Read, FADT Missing: IRQ on overflow Documentation: ACPI spec 3.0b

Member Enumeration Documentation

anonymous enum
private
Enumerator:
FREQ 

Constructor & Destructor Documentation

PmTimer::PmTimer ( Motherboard mb,
unsigned  iobase 
)
inline

Member Function Documentation

void PmTimer::discovery ( )
inline
bool PmTimer::receive ( MessageIOIn msg)
inline

Member Data Documentation

unsigned PmTimer::_iobase
private
Motherboard& PmTimer::_mb

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