Specifications
System Macros Invoked by Drivers
SPI$DEALLOCATE_COMMAND_BUFFER
SPI$DEALLOCATE_COMMAND_BUFFER
Deallocates a port command buffer.
Format
SPI$DEALLOCATE_COMMAND_BUFFER
Description
The SPI$DEALLOCATE_COMMAND_BUFFER macro deallocates a port
command buffer.
Inputs to the SPI$DEALLOCATE_COMMAND_BUFFER macro include the
following:
Location Contents
R4 Address of the SPDT.
R5 Address of the SCDRP.
SCDRP$L_CDT Address of the SCDT.
SCDRP$W_CMD_
MAPREG
Page number of the first port DMA buffer page allocated
for the port command buffer.
SCDRP$W_CMD_
NUMREG
Number of the port DMA buffer pages allocated for the
port DMA buffer.
The port driver returns SS$_NORMAL status in R0, and preserves the contents
of R3, R4, and R5.
2–73