Oil Enquiry: REL_DEADLINE
Posted: Wed Apr 20, 2016 6:22 pm
Hello and thanks for your services,
I would like to ask a question concerning RT-Druid and the oil language, I'm trying to compile a project that uses erika os, a linking error was produced stating that the variable 'EE_th_absdline' is undefined, the following are the ways 'EE_th_absdline' is used in the code:
EE_th_absdline[t] = EE_hal_gettime()+EE_th_reldline[t];
and
if (t == EE_NIL || // this test works also for the main task
(EE_stk_queryfirst() != EE_NIL &&
((EE_STIME)(EE_th_absdline[EE_stk_queryfirst()] - EE_th_absdline[t]) <= 0
|| EE_sys_ceiling >= EE_th_ready_prio[t])))
so I assumed that this array should be generated by RT-Druid from the oil file, and that it should contain the absolute deadlines for all threads.
so I checked the thread definition in the oil file and found that it contains a variable called "REL_DEADLINE" that is filled with type "string".
the problem is that I don't know how to set this variable and it isn't mentioned in the oil 2.5 documentation, and when I set it with random strings, nothing changes in the eecfg.c, eecfg.h files.
Hope you can refer me to the documentation where this variable is described so that the 'EE_th_absdline' array definition would be produced.
Thanks.
I would like to ask a question concerning RT-Druid and the oil language, I'm trying to compile a project that uses erika os, a linking error was produced stating that the variable 'EE_th_absdline' is undefined, the following are the ways 'EE_th_absdline' is used in the code:
EE_th_absdline[t] = EE_hal_gettime()+EE_th_reldline[t];
and
if (t == EE_NIL || // this test works also for the main task
(EE_stk_queryfirst() != EE_NIL &&
((EE_STIME)(EE_th_absdline[EE_stk_queryfirst()] - EE_th_absdline[t]) <= 0
|| EE_sys_ceiling >= EE_th_ready_prio[t])))
so I assumed that this array should be generated by RT-Druid from the oil file, and that it should contain the absolute deadlines for all threads.
so I checked the thread definition in the oil file and found that it contains a variable called "REL_DEADLINE" that is filled with type "string".
the problem is that I don't know how to set this variable and it isn't mentioned in the oil 2.5 documentation, and when I set it with random strings, nothing changes in the eecfg.c, eecfg.h files.
Hope you can refer me to the documentation where this variable is described so that the 'EE_th_absdline' array definition would be produced.
Thanks.