DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SCO OpenServer

Intro(D4oddi)


Intro -- Kernel structures used in SCO OpenServer ODDI drivers

Synopsis

Description

This section documents kernel structures that are referenced in SCO OpenServer drivers. Earlier releases of the documentation did not provide manual pages for these structures.

Driver developers should not declare arrays of these structures, as the size of any structure might change between releases.

Drivers must also avoid using kmem_alloc(sizeof (struct_t)), because this will place a fixed structure size into the object code.

Drivers can only reference those structure members described on the manual page. The actual data structures may have additional structure members beyond those described, but drivers must not reference them.

Some structure members are flags fields that consist of a bitmask of flags. Drivers must never directly assign values to these structure members. Drivers should only set and clear flags they are interested in, since the actual implementation may contain unlisted flags.

Data structures that are ``black boxes'' to drivers are not described in this section. These structures are referenced on the manual pages where they are used. Drivers should not be written to use any of their structure members. Their only valid use is passing pointers to the structures to the particular kernel routines.

References

Intro(D4), Intro(D4osdi), Intro(D4str), Intro(D4mdi)

``ODDI driver interface version for SCO OpenServer 5'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 5 HDK - June 2005