Jump to content

PSD GEN IPI: Difference between revisions

From EDM2
Created page with "Generate an inter-processor interrupt. This function is used to generate an inter-processor interrupt. All inter- processor hardware dependencies should be fully initialized ..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:PSD_GEN_IPI}}
Generate an inter-processor interrupt.
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.
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.
;Mode: Called in Kernel, and Interrupt Mode.


==Syntax==  
==Syntax==  
Line 16: Line 17:


==Remarks==
==Remarks==
OS/2 guarantees that the GenIPI function will not be called to interrupt a processor that has not finished processing any previous IPIs.  
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 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.
* This function can not call a PSD help that may block.


[[Category:PSD]]
[[Category:PSD]]

Latest revision as of 21:16, 2 January 2021

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.