Structsยง
Constantsยง
- GAS_
ADDR_ ๐SPACE_ MEMORY - HPET_
CAP_ ๐COUNTER_ CLK_ PERIOD_ SHIFT - HPET_
CAP_ ๐COUNTER_ SIZE - HPET_
CAP_ ๐NUM_ TIMERS_ MASK - HPET_
CONFIG_ ๐ENABLE - HPET_
GENERAL_ ๐CAP_ ID - HPET_
GENERAL_ ๐CONFIG - HPET_
MAIN_ ๐COUNTER - HPET_
MMIO_ ๐MAP_ SIZE - HPET MMIO register page size (minimum 1 KiB, map one full page).
Staticsยง
- HPET_
INFO ๐ - HPET_
INITIALIZED ๐
Functionsยง
- delay_
ms - High-precision delay in milliseconds
- delay_
us - High-precision delay in microseconds
- frequency_
hz - Get HPET frequency in Hz
- hpet_
read ๐ โ - Performs the hpet read operation.
- hpet_
write ๐ โ - Performs the hpet write operation.
- init
- Initialize HPET using the already-discovered ACPI table.
- is_
available - Check if HPET is initialized
- num_
timers - Get number of timers
- read_
counter - Read main counter value
- tick_
period_ ns - Get tick period in nanoseconds
- uptime_
ms - Get elapsed time since boot in milliseconds
- uptime_
secs - Get elapsed time since boot in seconds