STREAMS/UX for the HP 9000 Reference Manual
95
STREAMS/UX Multiprocessor Support
MP Synchronization Levels on a Uniprocessor
You can configure modules and drivers to use a particular synchronization
level whether or not they are MP scalable, run under UP emulation, or only
run on a uniprocessor system. The section “Configuring MP Scalable
Modules and Drivers” in this chapter shows examples of configuring MP
scalable modules and drivers to use synchronization levels. There is no
difference between configuring modules and drivers which run only on a
uniprocessor system and modules and drivers which run under UP
emulation. Examples of configuring uniprocesor/UP emulation modules
and drivers are shown below. Examples are given for both master file
entries and module and driver install functions. See Chapter 5 for more
information about configuring modules and drivers.
MASTER FILE $DEVICE TABLE CONFIGURATION
* name handle type mask block char
*
$DEVICE
A Ainfo 40 2000 -1 -1 /* UP module, since 0x10000 not in mask */
B Binfo 40 2000 -1 -1 /* UP module, since 0x10000 not in mask */
C Cinfo 40 2000 -1 -1 /* UP module, since 0x10000 not in mask */
D Dinfo 21 20FC -1 116 /* UP driver, since 0x10000 not in mask */
$$$
* name sync level sync name
*
$STREAMS_DVR_SYNC
A sync_module /* Module uses synch level */
B sync_module /* Module uses synch level */
C sync_elsewhere netsync /* Module uses synch level & name */
D sync_elsewhere netsync /* Driver uses synch level & name */
$$$