DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

MSOP_INTR_COMPLETE(D2psm)


MSOP_INTR_COMPLETE -- acknowledge an interrupt

Synopsis

   void pfxintr_complete(ms_intr_dist_t *idtp)

Description

MSOP_INTR_COMPLETE is called after an interrupt is delivered (that is, after a delivery function has returned the specified ms_intr_dist_t) and after the operating system has given all relevant device drivers a chance to deassert their devices' interrupts. This gives the PSM the chance to send an acknowledgement to the interrupt circuitry, for example, by sending an EOI, if necessary.

If the MSI_ORDERED_COMPLETES flag in msi_flags was set by the PSM when MSOP_INTR_ATTACH(D2psm) was called, MSOP_INTR_COMPLETE operations for this interrupt slot must be performed in a specific order relative to the MSOP_INTR_COMPLETE for other MSI_ORDERED_COMPLETES interrupts. Specifically, the order must be LIFO with respect to the order of interrupt delivery.

If MSI_MASK_ON_INTR is set, MSOP_INTR_COMPLETE also effectively does an implicit MSOP_INTR_UNMASK(D2psm), undoing the effect of the MSI_MASK_ON_INTR masking.

Interrupts are disabled on the CPU when MSOP_INTR_COMPLETE is called.

Arguments


idtp
pointer to interrupt descriptor

Return values

None.

Usage

Hardware applicability

All.

Version applicability

psm: 2

References

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