Definition of the HPET comparator class. More...
#include "machine/hpet.h"Classes | |
| union | HPET::TimerConfigAndCapabilitiesRegister |
| Configuration register for comparators. More... | |
| union | HPET::TimerFSBInterruptRouteRegister |
| Front-Side Bus Interrupt Message Route Register. More... | |
| class | HPET::Timer |
| Class abstracting a single HPET comparator. More... | |
| struct | HPET::TimerConfigAndCapabilitiesRegister.__unnamed__ |
| struct | HPET::TimerFSBInterruptRouteRegister.__unnamed__ |
Namespaces | |
| HPET | |
| Abstraction of the HPET existing in "modern" computers (since ~2005) | |
Typedefs | |
| typedef uint64_t | HPET::TimerComparatorRegister |
| Value register used by comparators. More... | |
Enumerations | |
| enum | HPET::TriggerMode { EDGE = 0x0, LEVEL = 0x1 } |
| Trigger mode for the interrupts generated by a comparator. | |
| enum | HPET::TimerMode { SINGLESHOT = 0x0, PERIODIC = 0x1 } |
| Timer mode a comparator is running in. | |
Functions | |
| Timer * | HPET::getTimer (size_t index) |
Returns a pointer to the indexth comparator. More... | |
Definition of the HPET comparator class.
| union HPET::TimerConfigAndCapabilitiesRegister |
Configuration register for comparators.
In addition to global configuration and value registers, every HPET timer comes with its own configuration register containing config used locally by the respective timer.
| Class Members | ||
|---|---|---|
| struct TimerConfigAndCapabilitiesRegister | __unnamed__ | |
| uint64_t | value | |
| union HPET::TimerFSBInterruptRouteRegister |
Front-Side Bus Interrupt Message Route Register.
Currently, this register is not used by StuBS; it's definition is here for the sake of completeness.
| Class Members | ||
|---|---|---|
| struct TimerFSBInterruptRouteRegister | __unnamed__ | |
| uint64_t | value | |
| struct HPET::TimerConfigAndCapabilitiesRegister.__unnamed__ |