Channel operations indexes
An operations index (
ops_idx) is a non-zero integer,
assigned by the driver to uniquely identify a set of
entry-point related properties defined in a udi_ops_init_t structure.
An array of these structures is used to define all the channel
operations for a source module, and the
ops_idx) member of
each is used as a unique identifier.
cmos_udi.c sample code (cont.)
* Ops indexes for each of the entry point ops vectors used.
#define GIO_OPS_IDX 1
#define BUS_DEVICE_OPS_IDX 2
#define INTR_HANDLER_OPS_IDX 3
pseudod.c sample code (cont.)
#define PSEUDO_GIO_INTERFACE 1 /* Ops index for GIO entry points */
#define PSEUDO_BUS_INTERFACE 2 /* Ops index for bus entry points */
These indexes are used in the
``Channel operations initialization''
Management metalanguage operations vector
Further information on transaction lists
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - 19 June 2005