Specifications
Operating System Routines
IOC$RELTCMAP_DMA, IOC$RELTCMAP_DMAN
IOC$RELTCMAP_DMA, IOC$RELTCMAP_DMAN
Release a set of TURBOchannel DMA map registers.
Module
[DRIVER]TCDMA_PTA
Input
Inputs for both routines follow:
Location Contents
ADP$L_MRQFL Head of queue of UCBs waiting for map registers
ADP$W_MRNREGARY
ADP$W_MRFREGARY
ADP$L_MRACTMDRS
Map register descriptor arrays
For IOC$RELTCMAP_DMA only
R5 Address of UCB
UCB$L_CRB Address of CRB
CRB$L_INTD+
VEC$L_ADP
Address of ADP
CRB$L_INTD+
VEC$W_MAPREG
Starting map register number
CRB$L_INTD+
VEC$B_NUMREG
Number of allocated map registers
For IOC$RELTCMAP_DMAN only
R1 Address of map register descriptor
R2 Address of ADP
Output
Outputs for both routines follow:
Location Contents
R0 SS$_NORMAL or SS$_SSFAIL
R1 Destroyed
ADP$W_MRNREGARY
ADP$W_MRFREGARY
ADP$L_MRACTMDRS
Updated
Synchronization
A driver fork process calls IOC$RELTCMAP_DMA or IOC$RELTCMAP_DMAN at
fork IPL, holding the corresponding fork lock in a multiprocessing environment.
Either routine returns control to its caller at the caller’s IPL. The caller retains
any spinlocks it held at the time of the call.
3–122