DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

MSOP_INTR_MASK(D2psm)


MSOP_INTR_MASK -- temporarily mask an interrupt slot

Synopsis

   void pfxintr_mask(ms_intr_dist_t *idtp)

Description

MSOP_INTR_MASK temporarily masks a specific interrupt slot until a subsequent MSOP_INTR_UNMASK(D2psm) is called. It is preferable to mask interrupts implicitly in delivery functions, as described in MSOP_INTR_ATTACH(D2psm). Explicit masking, however, allows the operating system to support older driver models which cannot handle spurious interrupts.

The argument passed to MSOP_INTR_MASK is the same interrupt distribution passed to a previous call to MSOP_INTR_ATTACH. The specified interrupt slot must be masked so that interrupts asserted on it do not cause interrupts to be sent to the invoking CPU or other CPUs. Implementations should mask the interrupt at all CPUs. This may in some cases require masking additional interrupt slots. Interrupts are disabled on the CPU when MSOP_INTR_MASK is called.

Arguments


idtp
pointer to interrupt descriptor

Return values

None.

Usage

Hardware applicability

All.

Version applicability

psm: 2

References

MSOP_INTR_UNMASK(D2psm), MSOP_INTR_ATTACH(D2psm)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - 19 June 2005