PSD_GEN_IPI

From EDM2
Jump to: navigation, search

Generate an inter-processor interrupt.

This function is used to generate an inter-processor interrupt. All inter-processor hardware dependencies should be fully initialized before the first GenIPI is called.

Mode
Called in Kernel, and Interrupt Mode.

Syntax

PSD_GEN_IPI <keywords>

Parameters

Processor number to interrupt (0-based).

Return Code

NO_ERROR 
if the IPI was generated.
-1 
if the IPI was not generated.

Remarks

OS/2 guarantees that the GenIPI function will not be called to interrupt a processor that has not finished processing any previous IPIs.

  • This function is not required for OS/2 to execute with one processor, but it is required for OS/2 to use multiple processors.
  • This function can not call a PSD help that may block.