PSD GET NUM OF PROCS: Difference between revisions
Appearance
Created page with "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..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:PSD_GET_NUM_OF_PROCS}} | |||
Return number of processors. | Return number of processors. | ||
Line 4: | Line 5: | ||
; Mode : Called in Init Mode only. | ; Mode : Called in Init Mode only. | ||
==Syntax== | ==Syntax== | ||
PSD_GET_NUM_OF_PROCS <keywords> | PSD_GET_NUM_OF_PROCS <keywords> | ||
Line 14: | Line 16: | ||
==Remarks== | ==Remarks== | ||
OS/2 Warp Server for SMP only supports processors that are compatible with the architecture of the Intel 386 and above. | 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 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. | * This function can call a PSD help that may block. | ||
[[Category:PSD]] | [[Category:PSD]] |
Latest revision as of 21:21, 2 January 2021
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.
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.