<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It was difficult to find this mail. Descriptive subjects would be helpful.</blockquote><div>Thank you for your efforts. I understand.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Here are important scheduler-specific macros:<br><a href="https://git.rtems.org/rtems/tree/cpukit/include/rtems/scheduler.h#n131" rel="noreferrer" target="_blank">https://git.rtems.org/rtems/tree/cpukit/include/rtems/scheduler.h#n131</a></blockquote><div>Exactly what I was looking for! Thanks. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 30, 2020 at 11:32 PM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 13/07/2020 13:27, Richi Dubey wrote:<br>
<br>
> We use a zero-length array <br>
> <<a href="https://git.rtems.org/rtems/tree/cpukit/include/rtems/score/scheduleredfsmp.h#n105" rel="noreferrer" target="_blank">https://git.rtems.org/rtems/tree/cpukit/include/rtems/score/scheduleredfsmp.h#n105</a>> in <br>
> the definition of Scheduler_EDF_SMP_Context, but I can not see any <br>
> code in scheduleredfsmp.c <br>
> (<a href="https://git.rtems.org/rtems/tree/cpukit/score/src/scheduleredfsmp.c" rel="noreferrer" target="_blank">https://git.rtems.org/rtems/tree/cpukit/score/src/scheduleredfsmp.c</a>) <br>
> which actually increases the size of the array. All I can see is code <br>
> that access/manipulate the array elements, but I do not see any code <br>
> which does malloc/adds Scheduler_EDF_SMP_Ready_queue elements to the <br>
> array.<br>
<br>
It was difficult to find this mail. Descriptive subjects would be helpful.<br>
<br>
This is a good question and I think we really have to improve our <br>
internal documentation. In Doxygen there is no good link from internal <br>
objects to their definition through application configuration options. <br>
Having the application configuration options in Doxygen would be <br>
definitely help here:<br>
<br>
<a href="https://lists.rtems.org/pipermail/devel/2020-July/060496.html" rel="noreferrer" target="_blank">https://lists.rtems.org/pipermail/devel/2020-July/060496.html</a><br>
<br>
The scheduler contexts and controls are generated by the confdefs.h <br>
related header files. Please have a look at:<br>
<br>
<a href="https://git.rtems.org/rtems/tree/cpukit/include/rtems/confdefs/scheduler.h" rel="noreferrer" target="_blank">https://git.rtems.org/rtems/tree/cpukit/include/rtems/confdefs/scheduler.h</a><br>
<br>
Here are important scheduler-specific macros:<br>
<br>
<a href="https://git.rtems.org/rtems/tree/cpukit/include/rtems/scheduler.h#n131" rel="noreferrer" target="_blank">https://git.rtems.org/rtems/tree/cpukit/include/rtems/scheduler.h#n131</a><br>
<br>
</blockquote></div>