!*** MODULE $CPUIDEF *** !DEC$ OPTIONS/ALIGN=(RECORDS=PACKED,COMMONS=PACKED)/NOWARN PARAMETER CPUI$K_TICKS = '00000001'X ! Get CPU's tick info ! + ! CPUI Flags Definitions ! - PARAMETER CPUI$M_SEARCH = '00000001'X PARAMETER CPUI$M_RESERVED = 'FFFFFFFE'X STRUCTURE /CPUI_FLAGS/ UNION MAP INTEGER*4 CPUI$L_FLAGS END MAP MAP PARAMETER CPUI$S_SEARCH = 1 PARAMETER CPUI$V_SEARCH = 0 ! If CPU not active, search for next CPU PARAMETER CPUI$S_RESERVED = 31 PARAMETER CPUI$V_RESERVED = 1 BYTE %FILL (4) ! No other flags defined at this time END MAP END UNION END STRUCTURE ! CPUI_FLAGS PARAMETER CPUI$K_KERNEL_TICKS_INDEX = '00000000'X ! 0 - kernel mode PARAMETER CPUI$K_EXEC_TICKS_INDEX = '00000001'X ! 1 - exec mode PARAMETER CPUI$K_SUPER_TICKS_INDEX = '00000002'X ! 2 - super mode PARAMETER CPUI$K_USER_TICKS_INDEX = '00000003'X ! 3 - user mode PARAMETER CPUI$K_INT_TICKS_INDEX = '00000004'X ! 4 - interrupt PARAMETER CPUI$K_MPSYNCH_TICKS_INDEX = '00000005'X ! 5 - mpsynch PARAMETER CPUI$K_IDLE_TICKS_INDEX = '00000006'X ! 6 - idle PARAMETER CPUI$K_TICKS_ENTRIES = '00000007'X ! 7 - Total number of entries !DEC$ END OPTIONS