Specifications

Operating System Routines
EXE$SENSEMODE
EXE$SENSEMODE
Copies device-dependent characteristics from the device’s UCB into R1, writes a
success code into R0, and completes the I/O operation.
Module
SYSQIOFDT
Input
Location Contents
R3 Address of IRP
R4 Address of current PCB
R5 Address of UCB
R6 Address of CCB
R7 Bit number of the I/O function code
R8 Address of FDT entry for this routine
00(AP) Address of first function-dependent parameter of the
$QIO request
UCB$Q_DEVDEPEND Device-dependent status
Output
Location Contents
R0 SS$_NORMAL
R1 Device-dependent status
Synchronization
EXE$SENSEMODE is called as a driver FDT routine at IPL$_ASTDEL.
Description
A driver uses EXE$SENSEMODE as an FDT routine to process the sense-device-
mode (IO$_SENSEMODE) and sense-device-characteristics (IO$_SENSECHAR)
I/O functions.
EXE$SENSEMODE loads the contents of UCB$Q_DEVDEPEND into R1, places
SS$_NORMAL status into R0, and transfers control to EXE$FINISHIO to insert
the IRP in the systemwide I/O postprocessing queue.
3–56