#include <stdint.h>
#include <sys/types.h>
Go to the source code of this file.
◆ isr_install()
Install the interrupt handlers into the IDT.
◆ isr_register_handler()
void isr_register_handler |
( |
int |
n, |
|
|
pid_t |
pid, |
|
|
void * |
handler |
|
) |
| |
Register an IRQ handler
If the PID is 0, the handler will be called directly, otherwise a thread will be made in the PID starting at the handler's address.
- Parameters
-
n | The IRQ to register a handler for |
pid | The PID that will handle the interrupt. |
handler | The address of the handler. |