|
|
auto | zxfoundation::sys::timer::init () noexcept -> void |
| | Initialize the timer subsystem on the BSP (CPU 0).
|
|
constexpr auto | zxfoundation::sys::timer::init_ap (u16 cpu_id) noexcept -> void |
| | Initialize the timer subsystem on an application processor.
|
|
constexpr auto | zxfoundation::sys::timer::ns_to_tod (u64 ns) noexcept -> u64 |
| | Convert nanoseconds to TOD clock units.
|
|
auto | zxfoundation::sys::timer::timer_add (kernel_timer &t) noexcept -> std::expected< void, lib::kernel_error > |
| | Add a timer to the current CPU's heap and arm the clock comparator.
|
|
auto | zxfoundation::sys::timer::timer_cancel (kernel_timer &t) noexcept -> std::expected< void, lib::kernel_error > |
| | Cancel an armed timer.
|
|
auto | zxfoundation::sys::timer::timer_interrupt () noexcept -> void |
| | Clock comparator interrupt handler.
|
|
constexpr auto | zxfoundation::sys::timer::tod_to_ns (u64 tod) noexcept -> u64 |
| | Convert TOD clock units to nanoseconds.
|