enable_isr - (i386) connect an interrupt vector to a port
Synopsis
Description
#include <sys/syscall.h>
int enable_isr(port_t port, int irq);
The enable_isr() system call connects an interrupt level to the specified port. After this call, the port is no longer available to the process, although it remains open to the corresponding server. An occurence of an interrupt at irq level will send an M_ISR. message to the server. If this message is not yet received by the server, the m_arg1 field will be incremented by one instead. Thus, at most only one message for the given irq will ever exist.The process must have sys privileges. Once granted, the IRQ handling remains until the server closes the connection.
ENABLE_ISR (2) |