X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=formal-model%2Furcu-controldataflow%2FDEFINES;h=929f5a12a461c5276e7cc338020e5bfa4936e6f5;hb=caeea74ce58faba3ef2bb7d2bd925d9009803086;hp=999de2c53be51f703198039487366836d1a55a9e;hpb=abbe7e27151039f5f56b7130f0043f703862e99c;p=urcu.git diff --git a/formal-model/urcu-controldataflow/DEFINES b/formal-model/urcu-controldataflow/DEFINES index 999de2c..929f5a1 100644 --- a/formal-model/urcu-controldataflow/DEFINES +++ b/formal-model/urcu-controldataflow/DEFINES @@ -1,11 +1,11 @@ // Poison value for freed memory -#define POISON 66 +#define POISON 1 // Memory with correct data -#define WINE 33 +#define WINE 0 #define SLAB_SIZE 2 -#define read_poison (data_read[0] == POISON) +#define read_poison (data_read_first[0] == POISON || data_read_second[0] == POISON) #define RCU_GP_CTR_BIT (1 << 7) #define RCU_GP_CTR_NEST_MASK (RCU_GP_CTR_BIT - 1)