ArvernOS
|
#include <stdint.h>
Macros | |
#define | PIT_FREQUENCY_HZ 100 |
The timer frequency. | |
Functions | |
void | pit_init () |
uint64_t | pit_uptime () |
uint64_t | pit_tick () |
Programmable Interval Timer (PIT).
void pit_init | ( | ) |
Initializes the PIT.
uint64_t pit_tick | ( | ) |
Returns the number of ticks since the timer has been initialized.
uint64_t pit_uptime | ( | ) |
Returns the number of seconds since the timer has been initialized.