<div dir="ltr">Thanks for the help.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 27, 2021 at 8:07 PM Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</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 Thu, Mar 25, 2021 at 11:11 PM Richi Dubey <<a href="mailto:richidubey@gmail.com" target="_blank">richidubey@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I remember reading somewhere that the add_processor function is only used when a processor is explicitly added during runtime of an application :p, Is that correct?Please let me know which test tests/uses this function.<br>
><br>
<br>
cd ~/rtems/rtems/testsuites$ grep -r add_processor<br>
smptests/smpirqs01/init.c: sc = rtems_scheduler_add_processor(scheduler_id, 1);<br>
smptests/smpscheduler04/init.c: sc = rtems_scheduler_add_processor(<br>
smptests/smpscheduler04/smpscheduler04.doc: - rtems_scheduler_add_processor()<br>
smptests/smpthreadpin01/init.c: sc =<br>
rtems_scheduler_add_processor(ctx->sched_b, 1);<br>
smptests/smpscheduler02/init.c: sc =<br>
rtems_scheduler_add_processor(scheduler_c_id, 62);<br>
smptests/smpscheduler02/init.c: sc =<br>
rtems_scheduler_add_processor(scheduler_c_id, 63);<br>
smptests/smpscheduler02/init.c: sc =<br>
rtems_scheduler_add_processor(scheduler_a_id, 1);<br>
smptests/smpscheduler02/init.c: sc =<br>
rtems_scheduler_add_processor(scheduler_a_id, 0);<br>
smptests/smpscheduler02/init.c: sc =<br>
rtems_scheduler_add_processor(scheduler_b_id, 1);<br>
sptests/spscheduler01/init.c: sc =<br>
rtems_scheduler_add_processor(invalid_id, 0);<br>
sptests/spscheduler01/init.c: sc =<br>
rtems_scheduler_add_processor(scheduler_id, 1);<br>
sptests/spscheduler01/init.c: sc =<br>
rtems_scheduler_add_processor(scheduler_id, 0);<br>
<br>
I guess you should start with one of those.<br>
<br>
> Thanks.<br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>