00001 #ifndef rddef_h 00002 #define rddef_h 00003 00004 #define RD_K_LENGTH 8 00005 #define RD_C_LENGTH 8 00006 #define RD_S_RDDEF 8 00007 00008 struct _scs_rd { 00009 union { 00010 void *rd_l_cdrp; 00011 struct _rd *rd_l_link; 00012 } rd_r_cdrp_ovl; 00013 union { 00014 unsigned short int rd_w_state; 00015 struct { 00016 unsigned rd_v_busy : 1; 00017 unsigned rd_v_perm : 1; 00018 unsigned rd_v_fill_0_ : 6; 00019 } rd_r_state_bits; 00020 } rd_r_state_ovl; 00021 unsigned short int rd_w_seqnum; 00022 }; 00023 00024 #define rd_l_cdrp rd$r_cdrp_ovl.rd$l_cdrp 00025 #define rd_l_link rd$r_cdrp_ovl.rd$l_link 00026 #define rd_v_busy rd$r_state_ovl.rd$r_state_bits.rd$v_busy 00027 #define rd_v_perm rd$r_state_ovl.rd$r_state_bits.rd$v_perm 00028 #define rd_w_state rd$r_state_ovl.rd$w_state 00029 00030 #endif 00031 00032