Lines Matching defs:handler
16 /* Install a handler for the specified IRQ. Address of previous
17 * handler will be stored in previous_handler. Enabled/disabled state
18 * of IRQ will be preserved across call, therefore if the handler does
20 * (b) previous_handler points directly to the place that the handler
24 int install_irq_handler ( irq_t irq, segoff_t *handler,
38 DBG ( "Installing handler at %hx:%hx for IRQ %d, leaving %s\n",
39 handler->segment, handler->offset, irq,
41 DBG ( "...(previous handler at %hx:%hx)\n",
43 irq_vector->segment = handler->segment;
44 irq_vector->offset = handler->offset;
49 /* Remove handler for the specified IRQ. Routine checks that another
50 * handler has not been installed that chains to handler before
51 * uninstalling handler. Enabled/disabled state of the IRQ will be
55 int remove_irq_handler ( irq_t irq, segoff_t *handler,
64 if ( ( irq_vector->segment != handler->segment ) ||
65 ( irq_vector->offset != handler->offset ) ) {
66 DBG ( "Cannot remove handler for IRQ %d\n" );
70 DBG ( "Removing handler for IRQ %d\n", irq );
90 /* Dump current 8259 status: enabled IRQs and handler addresses.
110 * handler routines. The text is assumed to locate in base memory.
118 /* UNDI entry point and irq, used by interrupt handler
123 /* Previous trigger count for undi IRQ handler */
126 /* Install the undi IRQ handler. Don't test as UNDI has not be opened.
133 DBG ( "Can install undi IRQ handler only once\n" );
137 DBG ( "Trivial IRQ handler not in base memory\n" );
141 DBG ( "Installing undi IRQ handler on IRQ %d\n", irq );
154 DBG ( "UNDI IRQ handler installed successfully\n" );
158 /* Remove the undi IRQ handler.
166 DBG ( "Cannot uninstall undi IRQ handler from IRQ %d; "