User guide
136 DC 900-1338I
Protocol Software Toolkit Programmer Guide
The s_initxio function is called once to initialize the internal data structures and devices
that allow XIO to communicate with the host’s ICP driver. After initialization, the user
application can call
s_nodec to declare a node. After nodes are declared, the user appli-
cation issues read and write request using
s_xio.
7.4.1 Initialize Executive Input/Output (s_initxio)
The Initialize XIO function sets up interrupt vectors and internal data structures. It
notifies the host that the ICP is ready to perform I/O.
C Interface:
s_initxio()
Return: none
Assembly Interface:
jsr _s_initxio
Input: none
Output: none
7.4.2 Node Declaration (s_nodec)
The Node Declaration function declares the nodes as described in Section 7.2.3 on
page 124. Any error information is returned in the status field of the node declaration
header (
NODEC_TYPE).
C Interface:
s_nodec ( nodec )
struct NODEC_TYPE *nodec;
Return: n/a
Assembly Interface:
TRAP #4