Specifications
OpenVMS System Routines Called by OpenVMS AXP Device Drivers
IOC$CRAM_IO
IOC$CRAM_IO
Queues the hardware I/O mailbox defined within a controller register access
mailbox (CRAM) to the mailbox pointer register (MBPR) and awaits the
completion of the mailbox transaction.
Module
[SYSLOA]CRAM-IO
Macro
CRAM_IO
Format
IOC$CRAM_IO cram
Context
IOC$CRAM_IO conforms to the OpenVMS AXP calling standard. It acquires no
spin locks and leaves IPL unchanged. After queuing the request and waiting for
its completion, IOC$CRAM_IO returns to its caller.
Arguments
cram
VMS Usage: address
type: longword (unsigned)
access: write only
mechanism: by reference
Address of CRAM associated with the hardware I/O mailbox transaction.
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 queued to the
MBPR.
SS$_BADPARAM Supplied argument is not a CRAM.
SS$_CTRLERR Error bit set in mailbox transaction.
SS$_INSFARG No argument supplied in call.
SS$_INTERLOCK Failed to queue hardware I/O mailbox to MBPR
in queue time.
A–17