|
LumaOS
v0.1.116
An experimental x86-64 OS
|
IRQ Handler and utilities. More...
#include <arch/x86_64/idt.h>Go to the source code of this file.
Typedefs | |
| typedef void(* | irq_handler_fn) (struct interrupt_frame *frame) |
Functions | |
| void | irq_register (uint8_t irq, irq_handler_fn fn) |
| Registers a handler function for the specified IRQ number. | |
| void | irq_handler (struct interrupt_frame *frame) |
| Calls the correct handler and returns the interrupt. | |
| static uint64_t | irq_save (void) |
| Saves the IRQ and disables interrupts (used when using a variable that is modified by an interrupt). | |
| static void | irq_restore (uint64_t flags) |
| Restores the IRQ and re-enables interrupts (used when using a variable that is modified by an interrupt). | |
IRQ Handler and utilities.
Definition in file irq.h.
| typedef void(* irq_handler_fn) (struct interrupt_frame *frame) |
| void irq_handler | ( | struct interrupt_frame * | frame | ) |
| void irq_register | ( | uint8_t | irq, |
| irq_handler_fn | fn ) |
|
inlinestatic |