Specifications
Operating System Routines
SMP$RELEASEL
SMP$RELEASEL
Releases all acquisitions of a device lock by the local processor and makes the
lock available for acquisition by other processors.
Module
SPINLOCKS
Macro
DEVICEUNLOCK
Input
Location Contents
R0 Address of device lock
Output
Location Contents
R0 Address of device lock
Synchronization
Upon entry, the local processor must be executing at or above the IPL at which
the device lock was originally obtained. This IPL must be greater than IPL$_
ASTDEL. Violations of IPL synchronization in a full-checking multiprocessing
environment result in a SPLIPLLOW bugcheck. At exit, IPL is unchanged and
the device lock is released.
Description
The DEVICEUNLOCK macro calls SMP$RELEASEL when the
condition=RESTORE argument is not specified.
SMP$RELEASEL first verifies that the local processor owns the specified device
lock. If this is not the case, the procedure issues an SPLRELERR bugcheck.
Otherwise, SMP$RELEASEL initializes the ownership count of the device lock
and releases the lock.
3–154