<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 29, 2020 at 10:53 AM Richi Dubey <<a href="mailto:richidubey@gmail.com">richidubey@gmail.com</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"><div dir="ltr">Hi,<br><br>I have attached my cpukit/include/rtems/confdefs/scheduler.h with this email, which is different from the current file that I should have, which can be seen here: <a href="https://git.rtems.org/rtems/tree/cpukit/include/rtems/confdefs/scheduler.h" target="_blank">https://git.rtems.org/rtems/tree/cpukit/include/rtems/confdefs/scheduler.h</a>.<br></div></blockquote><div><br></div><div>I think you are looking at the wrong file named scheduler.h. There are three options apparently:</div><div><br></div><div>$ find cpukit/ -name scheduler.h<br>cpukit/include/rtems/confdefs/scheduler.h<br>cpukit/include/rtems/scheduler.h<br>cpukit/include/rtems/score/scheduler.h</div><div><br></div><div>And the file you attached looks more like cpukit/include/rtems/scheduler.h </div><div><br></div><div> diff -u  ~/Downloads/scheduler.h cpukit/include/rtems/scheduler.h <br>--- /home/joel/Downloads/scheduler.h    2020-10-29 13:32:18.338022528 -0500<br>+++ cpukit/include/rtems/scheduler.h    2020-10-12 16:26:27.858302686 -0500<br>@@ -257,14 +257,16 @@<br>   #define RTEMS_SCHEDULER_STRONG_APA( name, prio_count ) \<br>     static struct { \<br>       Scheduler_strong_APA_Context Base; \<br>-      Scheduler_strong_APA_CPU CPU[ CONFIGURE_MAXIMUM_PROCESSORS ]; \<br>+      Chain_Control                Ready[ ( prio_count ) ]; \<br>     } SCHEDULER_STRONG_APA_CONTEXT_NAME( name )<br> <br>   #define RTEMS_SCHEDULER_TABLE_STRONG_APA( name, obj_name ) \<br>     { \<br>       &SCHEDULER_STRONG_APA_CONTEXT_NAME( name ).Base.Base.Base, \<br>       SCHEDULER_STRONG_APA_ENTRY_POINTS, \<br>-      SCHEDULER_STRONG_APA_MAXIMUM_PRIORITY, \<br>+      RTEMS_ARRAY_SIZE( \<br>+        SCHEDULER_STRONG_APA_CONTEXT_NAME( name ).Ready \<br>+      ) - 1, \<br>       ( obj_name ) \<br>       SCHEDULER_CONTROL_IS_NON_PREEMPT_MODE_SUPPORTED( false ) \<br>     }<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br>On running :<br><br>$ git log --oneline<br>68239434c2 (HEAD -> master, origin/master, origin/HEAD) score: Fix unused parameter 'lock' warning<br>eebad5ffcd build: Improve cache handling<br>b052e3aefa build: Report caching errors<br>99494370d6 bsp/stm32h7: New BSP<br>c44e404888 bsp/stm32h7: Fix warnings<br><br><div>I can verify that my RTEMS is at the <a href="https://git.rtems.org/rtems/" target="_blank">current</a> master, why are the files different then?</div><div><br></div><div>- Richi </div></div>
_______________________________________________<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></blockquote></div></div>