00001 #ifndef tqedef_h 00002 #define tqedef_h 00003 00004 #define TQE_M_TQTYPE 0x3 00005 #define TQE_M_REPEAT 0x4 00006 #define TQE_M_ABSOLUTE 0x8 00007 #define TQE_M_CHK_CPUTIM 0x10 00008 #define TQE_M_EXTENDED_FORMAT 0x20 00009 #define TQE_M_RSRVD_6_7 0xC0 00010 #define TQE_C_TMSNGL 0 00011 #define TQE_C_SSREPT 5 00012 #define TQE_C_SSSNGL 1 00013 #define TQE_C_WKREPT 6 00014 #define TQE_C_WKSNGL 2 00015 #define TQE_S_TQEDEF 64 00016 00017 #define TQE_K_LENGTH 64 00018 #define TQE_C_LENGTH 64 00019 00020 struct _tqe { 00021 struct _tqe *tqe_l_tqfl; 00022 struct _tqe *tqe_l_tqbl; 00023 unsigned short int tqe_w_size; 00024 unsigned char tqe_b_type; 00025 unsigned char tqe_b_rqtype; 00026 union { 00027 unsigned long tqe_l_pid; 00028 long tqe_l_fpc; 00029 }; 00030 union { 00031 struct { 00032 void (*tqe_l_ast)(unsigned long); 00033 unsigned long tqe_l_astprm; 00034 }; 00035 struct { 00036 unsigned long tqe_l_fr3; 00037 unsigned long tqe_l_fr4; 00038 }; 00039 }; 00040 unsigned long long tqe_q_time; 00041 unsigned long long tqe_q_delta; 00042 unsigned char tqe_b_rmod; 00043 unsigned char tqe_b_efn; 00044 unsigned short tqe_w_res; 00045 unsigned int tqe_l_rqpid; 00046 unsigned int tqe_l_cputim; 00047 }; 00048 00049 #endif 00050 00051