PSD_GET_NUM_OF_PROCS
From EDM2
Return number of processors.
This function must detect and return the number of usable x86 based processors that exist on the current platform. If the PSD detects that any of the processors are defective or non x86-based, it is the PSD's responsibility to setup the state of the PSD and hardware, such that all usable processors are logically ordered. For example, if there are 4 processors and CPU2 is defective, the CPU's should be ordered as follows: CPU0 = 0, CPU1 = 1, CPU2 (Defective), CPU3 = 2).
- Mode
- Called in Init Mode only.
Contents
Syntax
PSD_GET_NUM_OF_PROCS <keywords>
Parameters
None
Return Code
Number of processors (1-based).
Remarks
OS/2 Warp Server for SMP only supports processors that are compatible with the architecture of the Intel 386 and above.
- This function is required for OS/2 to operate properly, so the function can not be omitted.
- This function can call a PSD help that may block.