lock hot plug callback structure
pl_t lock_callback(hpci_hpcd_t *hpcd_info);
void unlock_callback(hpci_hpcd_t *hpcd_info, pl_t old_ipl);
locks the HPCD instance while the HPCD data structures
are examined or modified by HPCI.
then releases the lock.
pointer to an
pl value returned by the corresponding call to
priority level at which the routine was called.
This value is used later by the
has no return value.
These routines are required in HPCD drivers.
Code that examines or modifies the
structure is considered critical code that must execute atomically
to preserve the integrity of the shared data structures.
sets the lock, and
releases the lock.
The relevent data structures are populated with these callback routines
as part of hpci_attach() in CFG_ADD.
``Critical code section'' in HDK Technical Reference.
Context and synchronization
``Hotplug devices'' in HDK Technical Reference
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005