next up previous contents index
Next: 6.15.2 osenv_intr_enable: allow interrupts Up: 6.15 Hardware Interrupts Previous: 6.15 Hardware Interrupts

6.15.1 osenv_intr_disable: prevent interrupts in the driver environment

   

SYNOPSIS

void osenv_intr_disable(void);

DIRECTION

Component tex2html_wrap_inline32841 OS, Nonblocking

DESCRIPTION

Disable further entry into the calling driver set through an interrupt handler. This can be implemented either by directly disabling interrupts at the interrupt controller or CPU, or using some software scheme.

XXX Merely needs to prevent intrs from being dispatched to the driver set. Drivers may see spurious interrupts if they briefly cause interrupts while disabled.

XXX Timing-critical sections need interrupts actually disabled.



University of Utah Flux Research Group