Jump to content

PSD PROC INIT

From EDM2
Revision as of 23:07, 25 July 2017 by Martini (talk | contribs) (Created page with "Initialize the current processor. This function is called to initialize the current processor. It is called in protect mode, once on a per-processor basis. It should initiali...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Initialize the current processor.

This function is called to initialize the current processor. It is called in protect mode, once on a per-processor basis. It should initialize variables in the PSD's PLMA, along with initialization of the hardware state for that specific processor.

Syntax

PSD_PROC_INIT keywords

Parameters

Mode
Called in Init Mode only.
Entry
None.

Return

Exit

NO_ERROR
if the processor initialized successfully.
-1
if the processor didn't initialize.

Remarks

  • 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 call a PSD help that may block.