|
LumaOS
v0.1.116
An experimental x86-64 OS
|
Handles timer interrupts from the PIT (Programmable Interrupt Timer). More...
#include <arch/x86_64/idt.h>Go to the source code of this file.
Functions | |
| void | pit_init (uint16_t frequency) |
| Initialize the PIT timer. | |
| void | pit_sleep_ms (uint32_t ms) |
| Sleep for a certain time using the PIT. | |
Variables | |
| volatile uint64_t | pit_ticks |
| volatile uint16_t | pit_frequency |
Handles timer interrupts from the PIT (Programmable Interrupt Timer).
Definition in file pit.h.
| void pit_init | ( | uint16_t | frequency | ) |
| void pit_sleep_ms | ( | uint32_t | ms | ) |