Specifications
Device Driver Entry Points
Unit Delivery Routine
Unit Delivery Routine
For controllers that can control a variable number of device units, determines
which specific devices are present and available for inclusion in the system’s
configuration.
Specified in
Specify the name of the unit delivery routine in the deliver argument to the
DPTAB macro. The macro puts the relative address of this routine in DPT$W_
DELIVER.
Called by
The System Generation utility (SYSGEN) command AUTOCONFIGURE calls the
unit delivery routine once for each unit the controller is capable of controlling.
This value is specified in the defunits argument to the DPTAB macro.
Synchronization
The unit delivery routine is called at IPL$_POWER. It must not lower IPL.
Context
The unit delivery routine executes in the context of the process within which
SYSGEN executes.
Register usage
The unit delivery routine can use R0, R1, and R2 freely, but must preserve the
contents of all other registers.
Input
Location Contents
R3 Address of IDB; 0 if none exists
R4 Address of device’s CSR
R5 Number of unit that the unit delivery routine must
decide to configure or not to configure
R6 Address of start of the UNIBUS adapter’s or
Q22–bus’s I/O space (UNIBUS or Q22–bus devices);
address of MBA configuration register (MASSBUS
devices)
R7 Address of AUTOCONFIGURE command’s
configuration control block (ACF)
R8 Address of ADP
4–21