DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

MSOP_INTR_UNMASK(D2psm)


MSOP_INTR_UNMASK -- unmask an interrupt slot

Synopsis

   void pfxintr_unmask(ms_intr_dist_t *idtp)

Description

MSOP_INTR_UNMASK undoes the effect of a previous call to MSOP_INTR_MASK(D2psm). That is, it unmasks any interrupt slots that would have been masked by a call to MSOP_INTR_MASK with the same argument, and which are not also masked as a result of a pending MSOP_INTR_MASK call for another interrupt slot.

For example, a particular platform may not be able to mask individual slots, perhaps because it groups slots into priority levels and masks based on priority. MSOP_INTR_MASK might then implicitly mask slots 4 and 5 when requested to mask slot 3. If subsequently asked to mask slot 5, it would do nothing, since slot 5 is already masked, but would remember the request. If MSOP_INTR_MASK were then called for slot 3, it must not actually unmask slot 3, because that would unmask slot 5, which still has a mask operation pending. When slot 5 is unmasked by a separate MSOP_INTR_UNMASK, slots 3 and 4 are unmasked as well.

MSOP_INTR_MASK (whether explicit or implicit) and MSOP_INTR_UNMASK for a given interrupt slot are not required to nest. That is, MSOP_INTR_UNMASK can assume that the specified slot currently has exactly one mask pending and can be (logically) unmapped.

MSOP_INTR_UNMASK must not be called if MSI_NONMASKABLE is set for this interrupt slot.

Interrupts are disabled on the CPU when MSOP_INTR_UNMASK is called.

Arguments


idtp
pointer to the interrupt descriptor

Return values

None.

Usage

Hardware applicability

All.

Version applicability

psm: 2

References

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