![]() |
Max OS 0.3
|
Driver for the Programmable Interval Timer. More...
#include <clock.h>
Public Member Functions | |
| PIT (hardwarecommunication::AdvancedProgrammableInterruptController *apic) | |
| Constructor for the PIT class. Registers a handler for interrupt 0x22 and initialises ports. | |
Public Member Functions inherited from MaxOS::hardwarecommunication::InterruptHandler | |
| virtual system::cpu_status_t * | handle_interrupt (system::cpu_status_t *status) |
| Handles an interrupt and returns the status. | |
Additional Inherited Members | |
Protected Member Functions inherited from MaxOS::hardwarecommunication::InterruptHandler | |
| InterruptHandler (uint8_t interrupt_number, int64_t redirect=-1, uint64_t redirect_index=0) | |
| Creates a new interrupt handler and registers it with the interrupt manager. | |
| ~InterruptHandler () | |
| Destroys the interrupt handler and unregisters it from the interrupt manager. | |
Protected Attributes inherited from MaxOS::hardwarecommunication::InterruptHandler | |
| uint8_t | m_interrupt_number |
| The interrupt number this handler handles. | |
|
explicit |
Constructor for the PIT class. Registers a handler for interrupt 0x22 and initialises ports.
| apic | The APIC controller for the BSP core |
Definition at line 216 of file clock.cpp.