Download pSOSystem Programmer`s Reference

Transcript
pr.book Page 82 Thursday, January 28, 1999 9:18 AM
Interfaces
pSOSystem Programmer’s Reference
ki_roster
The ki_roster service provides roster information to the KI. The ki_roster service is called by way of the KI entry routine, ki_call, with the following parameters:
unsigned long ki_call (
unsigned long fcode,
unsigned long change,
void **roster,
unsigned long parm1,
unsigned long parm2,
unsigned long parm3
);
Input
Return
2-82
fcode
Function code. Must be 9.
change
Specifies the type of change as listed below.
Value
Change Description
0
Initial roster. The roster parameter points to
the internal pSOS+m roster.
1
A node joined. The parm1 and parm2 parameters
contain, respectively, the node number and sequence number of the new node.
2
A node has failed. The parm1, parm2, and parm3
parameters contain, respectively, the node number of the failed node, the failure code, and the
node number of the node that initiated removal
of the node from the system (which may be the
failed node itself).
0, or KI-specific error code.
KI (Kernel Interface)