|
Kernelite 0.1.0
Kernelite is a minimalist, educational operating system kernel built from scratch. The project aims to recreate core components of the Linux architecture to explore the fundamentals of operating system design and hardware-software interaction.
|
System timer interface. More...


Go to the source code of this file.
Functions | |
| bool | setup_sys_timer (const void *fdt, uint64_t milliseconds, handler_data_t handler) |
| Configure the system timer's tick period and interrupt handler. | |
System timer interface.
Declares the kernel-facing API for configuring the periodic tick and registering its interrupt handler. Implementations dispatch to the platform-specific timer driver underneath.
| bool setup_sys_timer | ( | const void * | fdt, |
| uint64_t | milliseconds, | ||
| handler_data_t | handler | ||
| ) |
Configure the system timer's tick period and interrupt handler.
| fdt | Pointer to the Flattened Device Tree (FDT) blob, which may be used to discover timer properties and configuration. |
| milliseconds | Desired tick period in milliseconds. |
| handler | Handler function and private data to invoke when the timer interrupt fires. |