Specifications
Operating System Routines
IOC$ALOXBIMAPRM, IOC$ALOXBIMAPRMN
IOC$ALOXBIMAPRM, IOC$ALOXBIMAPRMN
Permanently allocate a set of XBI+ map registers.
Module
[IO_ROUTINES]IOSUBNPAG
Input
Location Contents
R3 Number of XBI+ map registers to allocate
(IOC$ALOXBIMAPRMN only)
R5 Address of UCB
UCB$W_BCNT Transfer byte count (IOC$ALOXBIMAPRM only)
UCB$W_BOFF Byte offset in page (IOC$ALOXBIMAPRM only)
UCB$L_CRB Address of CRB
CRB$L_INTD+
VEC$L_ADP
Address of device ADP
ADP$L_BIMASTER Address of XBI+ adapter ADP
Output
Location Contents
R0 Status of operation
R1 Unpredictable
R2 Address of ADP
CRB$L_INTD+
VEC$W_XBINUMREG
Number of XBI+ map registers allocated
CRB$L_INTD+
VEC$W_MAPREG
Starting XBI+ map register number; bit 15
(VEC$M_MAPLOCK) set to indicate allocation
is permanent
Synchronization
Callers of IOC$ALOXBIMAPRM or IOC$ALOXBIMAPRMN must be executing at
fork IPL or above. No specific spinlock is required. Each 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–83