SET_TERM_INTR
SET_TERM_INTR
Set the state of the console terminal interrupts.
Format
DISPATCH(SET_TERM_INTR,
UNIT,
int_mask);
Arguments
SET_TERM_INTR
SET_TERM_INTR function code (04
16
).
UNIT
Unit number to set interrupts on. Section 16.5.3 gives unit number information.
int_mask
Bit-encoded interrupt mask, where:
<1:0> = 01 Keep current transmit interrupt setting
<1:0> = 1X Enable transmit interrupts
<1:0> = 00 Disable transmit interrupts
<9:8> = 01 Keep current receive interrupt setting
<9:8> = 1X Enable receive interrupts
<9:8> = 00 Disable receive interrupts
Description
This routine reads, enables, or disables either receive or transmit interrupts.
This routine must be called in kernel mode and above the device IPL of the
console device; otherwise, its exception causes UNDEFINED operation.
Returns:
R0<63> = 0 Success
R0<63> = 1 Failure, operation not supported
R0<62:2> Should be zero
R0<1> = 1 Receive interrupts are enabled
R0<1> = 0 Receive interrupts are disabled
R0<0> = 1 Transmit interrupts are enabled
R0<0> = 0 Transmit interrupts are disabled
16–72 Console
Comments to this Manuals