Specifications
Operating System Routines
IOC$WFIKPCH, IOC$WFIRLCH
IOC$WFIKPCH, IOC$WFIRLCH
Suspend a driver fork thread and fold its context into a fork block in anticipation
of a device interrupt or timeout.
Module
IOSUBNPAG
Macro
WFIKPCH, WFIRLCH
Input
Location Contents
R3, R4 (Preserved)
R5 Address of UCB
R5 Address of UCB
00(SP) Address following the JSB to IOC$WFIKPCH or
IOC$WFIRLCH
04(SP) Timeout value in seconds
08(SP) IPL to which to lower before returning to the caller’s
caller
12(SP) Return PC of caller’s caller
EXE$GL_ABSTIM Absolute time
Output
Location Contents
UCB$L_DUETIM Sum of timeout value and EXE$GL_ABSTIM
UCB$V_INT Set to indicate that interrupts are expected on the
device
UCB$V_TIM Set to indicate device I/O is being timed
UCB$V_TIMOUT Cleared to indicate that unit is not timed out
UCB$L_FR3 R3
UCB$L_FR4 R4
UCB$L_FPC 00(SP)+2
3–143