DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

MSOP_INTR_TASKPRI(D2psm)


MSOP_INTR_TASKPRI -- change the task priority for a CPU

Synopsis

   void pfxintr_taskpri(unsigned int taskpri)

Description

MSOP_INTR_TASKPRI is called to inform the PSM that the task priority for the calling CPU has changed. The task priority is used as a hint to help choose to which CPU to deliver an interrupt when all else (that is, task masking) is equal. CPUs with lower task priority values are preferred. Task priority and task priority numbering are unrelated to interrupt masking, ordered or otherwise.

The PSM may ignore the task priority, but its use is recommended if it can be implemented easily.

The task priority taskpri must not be greater than MSPARAM_INTR_TASKPRI_MAX. See os_set_msparam(D3psm) for details.

Arguments


taskpri
the priority level of the interrupt controller

Return values

None.

Usage

Hardware applicability

Platforms that have a priority-based interrupt controller.

Version applicability

psm: 2

References

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