Jump to content

PSD PROC INIT: Difference between revisions

From EDM2
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..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:PSD_PROC_INIT}}
Initialize the current processor.
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.
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.
; Mode: Called in Init Mode only.


==Syntax==
==Syntax==
  PSD_PROC_INIT keywords
  PSD_PROC_INIT <keywords>


==Parameters==
==Parameters==
; Mode: Called in Init Mode only.
; Entry: None.
; Entry: None.


==Return==
==Return==
Exit
'''Exit'''
; NO_ERROR:  if the processor initialized successfully.
; NO_ERROR:  if the processor initialized successfully.
; -1 : if the processor didn't initialize.
; -1 : if the processor didn't initialize.

Latest revision as of 02:42, 20 May 2025

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.

Mode
Called in Init Mode only.

Syntax

PSD_PROC_INIT <keywords>

Parameters

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.