<div dir="ltr"><div>Hello,<br><br></div><div>I've been going through the entry points of the simplesmp and edf scheduler and was thinking,<br></div><div>for the globaledf scheduler entry points <br></div><div>1) if it is possible to re-use the enqueue for the rbtree<br>
</div><div>2) modify the schedule, initialize and extract based on the functionality of smp scheduler,<br><br></div><div>Since the enqueue and update in globaledf uses only inserts into the rbtree, where as the schedule and initialize needs to be modified since i will use a chain of executing tasks.<br>
<br></div><div>Your comments will be helpful.<br><br></div><div>Thanks,<br>Sree Harsha<br></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 24, 2013 at 8:59 AM, Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good I think you are on track.<br>
<br>
On Mon, Jun 24, 2013 at 11:38 AM, Sree Harsha Konduri<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:sreehars@buffalo.edu">sreehars@buffalo.edu</a>> wrote:<br>
> Hello,<br>
><br>
> I have the globalEDF template up, so this week i will try to examine the<br>
> current smp scheduler, in terms of scheduler and thread data structures and<br>
> also functions, and come up with an algorithm or flow chart describing the<br>
> entry points to the new scheduler.<br>
><br>
> I will update the tasks document and also post the link to the blog at the<br>
> earliest.<br>
><br>
> Thanks,<br>
> Sree<br>
><br>
><br>
> On Sat, Jun 22, 2013 at 6:47 AM, Sree Harsha Konduri <<a href="mailto:sreehars@buffalo.edu">sreehars@buffalo.edu</a>><br>
> wrote:<br>
>><br>
>> Hello,<br>
>><br>
>> As disscussed earlier in the week, i have a GlobalEDF scheduler template<br>
>> with the same functionality of the simplesmp scheduler.<br>
>> I've tested it with some of the smp tests using rtems-testing.<br>
>><br>
>> In order to test with rtems-schedsim do i have to configure rtems-schedsim<br>
>> again from scratch? since there are changes to the cpukit with added header<br>
>> files.<br>
>><br>
>> Thanks,<br>
>> Harsha<br>
>><br>
>><br>
>><br>
>> On Fri, Jun 21, 2013 at 3:38 PM, Joel Sherrill <<a href="mailto:Joel.Sherrill@oarcorp.com">Joel.Sherrill@oarcorp.com</a>><br>
>> wrote:<br>
>>><br>
>>> You have added a .h file. You need to run bootstrap -p and bootstrap in<br>
>>> cpukit.<br>
>>><br>
>>> Do that followed by a build from scratch and see if it helps<br>
>>><br>
>>> Sree Harsha Konduri <<a href="mailto:sreehars@buffalo.edu">sreehars@buffalo.edu</a>> wrote:<br>
>>><br>
>>> I do have auto tools in my Path. After i do configure with<br>
>>> --enable-maintainer-mode i cant see the Makefile.in refreshing, or new<br>
>>> headers being included.<br>
>>> So i ran bootstrap with -c to clear all the auto tools generated files.<br>
>>> Now when i re run bootstrap with -p only <a href="http://preinstall.am" target="_blank">preinstall.am</a> gets generated and<br>
>>> after configure with --enable-maintainer-mode there is no Makefile.in<br>
>>> generated?<br>
>>><br>
>>> Thanks,<br>
>>> Harsha<br>
>>><br>
>>><br>
>>> On Fri, Jun 21, 2013 at 6:05 AM, Ralf Corsepius<br>
>>> <<a href="mailto:ralf.corsepius@rtems.org">ralf.corsepius@rtems.org</a>> wrote:<br>
>>>><br>
>>>> On 06/21/2013 03:07 AM, Gedare Bloom wrote:<br>
>>>>><br>
>>>>> Cc:rtems-devel<br>
>>>>><br>
>>>>> When modifying the build system i.e. Makefile.am files, you need to<br>
>>>>> rerun the bootstrap script and maybe with the -p flag if you add new<br>
>>>>> header files. Run bootstrap in the nearest directory to the modified<br>
>>>>> Makefile.am that contains a <a href="http://configure.ac" target="_blank">configure.ac</a> <<a href="http://configure.ac" target="_blank">http://configure.ac</a>> file.<br>
>>>>> Then recompile rtems.<br>
>>>><br>
>>>><br>
>>>> Make sure to have RTEMS autoconf and automake in $PATH,<br>
>>>> then pass --enable-maintainer-mode to configure<br>
>>>> then running make will automatically take care about this in most cases.<br>
>>>><br>
>>>> Ralf<br>
>>>><br>
>>><br>
>><br>
><br>
</div></div></blockquote></div><br></div>