About scheduler entry point add_processor
Gedare Bloom
gedare at rtems.org
Sat Mar 27 14:37:47 UTC 2021
On Thu, Mar 25, 2021 at 11:11 PM Richi Dubey <richidubey at gmail.com> wrote:
>
> Hi,
>
> 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.
>
cd ~/rtems/rtems/testsuites$ grep -r add_processor
smptests/smpirqs01/init.c: sc = rtems_scheduler_add_processor(scheduler_id, 1);
smptests/smpscheduler04/init.c: sc = rtems_scheduler_add_processor(
smptests/smpscheduler04/smpscheduler04.doc: - rtems_scheduler_add_processor()
smptests/smpthreadpin01/init.c: sc =
rtems_scheduler_add_processor(ctx->sched_b, 1);
smptests/smpscheduler02/init.c: sc =
rtems_scheduler_add_processor(scheduler_c_id, 62);
smptests/smpscheduler02/init.c: sc =
rtems_scheduler_add_processor(scheduler_c_id, 63);
smptests/smpscheduler02/init.c: sc =
rtems_scheduler_add_processor(scheduler_a_id, 1);
smptests/smpscheduler02/init.c: sc =
rtems_scheduler_add_processor(scheduler_a_id, 0);
smptests/smpscheduler02/init.c: sc =
rtems_scheduler_add_processor(scheduler_b_id, 1);
sptests/spscheduler01/init.c: sc =
rtems_scheduler_add_processor(invalid_id, 0);
sptests/spscheduler01/init.c: sc =
rtems_scheduler_add_processor(scheduler_id, 1);
sptests/spscheduler01/init.c: sc =
rtems_scheduler_add_processor(scheduler_id, 0);
I guess you should start with one of those.
> Thanks.
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list