Specifications
OpenVMS System Routines Called by OpenVMS AXP Device Drivers
IOC$DEALLOCATE_CRAM
IOC$DEALLOCATE_CRAM
Deallocates a controller register access mailbox.
Module
CRAM-ALLOC
Macro
CRAM_DEALLOC
Format
IOC$DEALLOCATE_CRAM cram
Context
IOC$DEALLOCATE_CRAM conforms to the OpenVMS AXP calling standard. Its
caller must be executing at or below IPL 8 and must not hold spin locks ranked
higher than IO_MISC.
IOC$DEALLOCATE_CRAM acquires and releases the IO_MISC spin lock and
returns to its caller at its caller’s IPL.
Arguments
cram
VMS Usage: address
type: longword (unsigned)
access: write only
mechanism: by reference
Address of CRAM to be deallocated by IOC$DEALLOCATE_CRAM
Returns
VMS Usage: cond_value
type: longword_unsigned
access: longword (unsigned)
mechanism: write only—by value
Status indicating the success or failure of the operation.
Return Values
SS$_NORMAL CRAM has been successfully deallocated.
SS$_BADPARAM Supplied argument is not a CRAM.
SS$_INSFARG Insufficient arguments supplied in call
Description
IOC$DEALLOCATE_CRAM deallocates a single controller register access mailbox
(CRAM).
A–27