PatchworkOS
Loading...
Searching...
No Matches
irq.c File Reference

Go to the source code of this file.

Functions

void irq_dispatch (interrupt_frame_t *frame)
 Dispatch an IRQ.
 
void irq_install (irq_t irq, irq_callback_func_t func, void *data)
 Install an IRQ handler.
 
void irq_uninstall (irq_t irq, irq_callback_func_t func)
 Uninstall an IRQ handler.
 

Variables

static rwlock_t lock = RWLOCK_CREATE
 
static irq_handler_t handlers [IRQ_AMOUNT] = {0}
 

Variable Documentation

◆ handlers

irq_handler_t handlers[IRQ_AMOUNT] = {0}
static

Definition at line 11 of file irq.c.

Referenced by irq_dispatch(), irq_install(), and irq_uninstall().

◆ lock