version 1.16.2.2, 2011/04/14 08:46:39
|
version 1.52, 2015/06/08 14:11:33
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.0.23 |
RPL/2 (R) version 4.1.22 |
Copyright (C) 1989-2011 Dr. BERTRAND Joël |
Copyright (C) 1989-2015 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
|
|
Line 51 sf(struct_processus *s_etat_processus, u
|
Line 51 sf(struct_processus *s_etat_processus, u
|
indice_bloc = indice_drapeau / taille_bloc; |
indice_bloc = indice_drapeau / taille_bloc; |
indice_bit = indice_drapeau % taille_bloc; |
indice_bit = indice_drapeau % taille_bloc; |
|
|
masque = ((t_8_bits) 1) << (taille_bloc - indice_bit - 1); |
masque = (t_8_bits) (((t_8_bits) 1) << (taille_bloc - indice_bit - 1)); |
|
|
(*s_etat_processus).drapeaux_etat[indice_bloc] |= masque; |
(*s_etat_processus).drapeaux_etat[indice_bloc] |= masque; |
} |
} |
Line 85 cf(struct_processus *s_etat_processus, u
|
Line 85 cf(struct_processus *s_etat_processus, u
|
indice_bloc = indice_drapeau / taille_bloc; |
indice_bloc = indice_drapeau / taille_bloc; |
indice_bit = indice_drapeau % taille_bloc; |
indice_bit = indice_drapeau % taille_bloc; |
|
|
masque = ~(((t_8_bits) 1) << (taille_bloc - indice_bit - 1)); |
masque = (t_8_bits) (~(((t_8_bits) 1) << (taille_bloc - indice_bit - 1))); |
|
|
(*s_etat_processus).drapeaux_etat[indice_bloc] &= masque; |
(*s_etat_processus).drapeaux_etat[indice_bloc] &= masque; |
} |
} |
Line 119 test_cfsf(struct_processus *s_etat_proce
|
Line 119 test_cfsf(struct_processus *s_etat_proce
|
indice_bloc = indice_drapeau / taille_bloc; |
indice_bloc = indice_drapeau / taille_bloc; |
indice_bit = indice_drapeau % taille_bloc; |
indice_bit = indice_drapeau % taille_bloc; |
|
|
masque = ((t_8_bits) 1) << (taille_bloc - indice_bit - 1); |
masque = (t_8_bits) (((t_8_bits) 1) << (taille_bloc - indice_bit - 1)); |
|
|
return((((*s_etat_processus).drapeaux_etat[indice_bloc] & masque) != 0) |
return((((*s_etat_processus).drapeaux_etat[indice_bloc] & masque) != 0) |
? d_vrai : d_faux); |
? d_vrai : d_faux); |