BPXYSEL ,
** BPXYSEL: Select Options
** Used By: SEL
SEL DSECT ,
SELBEGIN DS 0F
*
SELBITS DS 0XL4 Flag Bits.8F FF FF FF Reserved
SELPOLLFLAGS DS XL2 Select flags / Poll (r)events
*-----------------------------------------------------
* Select flags
*-----------------------------------------------------
SELFLAGS ORG SELPOLLFLAGS
DS XL1
* EQU X'80' Never use this bit
SELREAD EQU X'40' Descriptor ready for read.
SELWRITE EQU X'20' Descriptor ready for write.
SELXCEPT EQU X'10' Descriptor ready for exception.
DS XL1 Available byte
*-----------------------------------------------------
* Poll Events/Returned Events
*-----------------------------------------------------
SELPOLLEVENTS ORG SELPOLLFLAGS
DS XL2 Mapped by PollEvents(BPXYPOLL)
SELPOLLREVENTS ORG SELPOLLFLAGS
DS XL2 Mapped by PollRevents(BPXYPOLL)
*
DS XL1 Available byte
DS XL1 Reserved for internal use
*
* Constants
*
SEL#LENGTH EQU *-SEL Length of SEL
SEL#QUERY EQU 1 Query function
SEL#CANCEL EQU 2 Cancel function
SEL#BATSELQ EQU 3 Batch-Select Query function
SEL#BATSELC EQU 4 Batch-Select Cancel function
SEL#POLLQUERY EQU 5 Poll Query function
SEL#BATPOLLQ EQU 6 Batch-Poll Query function
SEL#BATPOLLC EQU 7 Batch-Poll Cancel function
SEL#POLLCANCEL EQU 8 Poll Cancel function
SEL#BITSBACKWARD EQU 0 Bit Backward Order by word
SEL#BITSFORWARD EQU 1 Bit Forward Order by word
SEL#TYPES EQU 3 3 TYPES (Read Write Except)
SEL#RBIT EQU 64 Read bit position in byte
SEL#WBIT EQU 32 Write bit position in byte
SEL#XBIT EQU 16 Xcept bit position in byte
** BPXYSEL End