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.
Loading...
Searching...
No Matches
Data Fields
handler_data_t Struct Reference

Interrupt handler registration entry. More...

#include <icu.h>

Data Fields

void(* handler )(void *private_data)
 Function to invoke when the corresponding INTID fires. NULL indicates no handler is registered for this INTID.
 
void * private_data
 Opaque pointer passed to the handler on invocation. Ownership and lifetime are managed by the registering caller.
 

Detailed Description

Interrupt handler registration entry.

Pairs a handler function with its opaque private data pointer. Stored in the dispatch table indexed by INTID. When an interrupt fires, the dispatcher calls handler(private_data) for the corresponding entry.


The documentation for this struct was generated from the following file: