00001 #ifndef tastdef_h 00002 #define tastdef_h 00003 00004 #define TAST_M_MASK_DSBL 0x1 00005 #define TAST_M_INCLUDE 0x2 00006 #define TAST_M_ONE_SHOT 0x4 00007 #define TAST_M_BUSY 0x8 00008 #define TAST_M_LOST 0x10 00009 #define TAST_M_ABORT 0x20 00010 #define TAST_K_LENGTH 60 00011 #define TAST_C_LENGTH 60 00012 #define TAST_M_ABO 0x4000 00013 #define TAST_M_INC 0x8000 00014 00015 #define TAST_S_TASTDEF 64 00016 00017 struct _tast { 00018 int tastdef_$filler1 [9]; 00019 struct _tast *tast_l_flink; 00020 int (*tast_l_ast)(); 00021 unsigned int tast_l_astprm; 00022 unsigned int tast_l_pid; 00023 unsigned char tast_b_rmod; 00024 union { 00025 unsigned char tast_b_ctrl; 00026 struct { 00027 unsigned tast_v_mask_dsbl : 1; 00028 unsigned tast_v_include : 1; 00029 unsigned tast_v_one_shot : 1; 00030 unsigned tast_v_busy : 1; 00031 unsigned tast_v_lost : 1; 00032 unsigned tast_v_abort : 1; 00033 unsigned tast_v_fill_0_ : 2; 00034 }; 00035 }; 00036 unsigned short int tast_w_chan; 00037 unsigned int tast_l_mask; 00038 struct { 00039 unsigned tast_v_fill : 14; 00040 unsigned tast_v_abo : 1; 00041 unsigned tast_v_inc : 1; 00042 }; 00043 char tast_b_filler1[2]; 00044 }; 00045 00046 #endif 00047 00048