Re: What happens during boot time in terms of scheduling?

2020-08-15 Thread Richi Dubey
Great quote. Yeah, I'll learn about it. Anything becomes simple once you spend enough time on it. On Sat, Aug 15, 2020 at 4:34 AM Joel Sherrill wrote: > > > On Fri, Aug 14, 2020 at 10:51 AM Richi Dubey wrote: > >> My god. There's so much that a bachelor's degree does not teach. >> > > This

Re: What happens during boot time in terms of scheduling?

2020-08-14 Thread Joel Sherrill
On Fri, Aug 14, 2020 at 10:51 AM Richi Dubey wrote: > My god. There's so much that a bachelor's degree does not teach. > This particular one definitely qualifies as an example of Arthur C. Clarke's Third Law to me. :) Clarke's Third Law: Any sufficiently advanced technology is

Re: What happens during boot time in terms of scheduling?

2020-08-14 Thread Richi Dubey
My god. There's so much that a bachelor's degree does not teach. Thank you for your answer. On Fri, Aug 14, 2020 at 6:18 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 14/08/2020 11:25, Richi Dubey wrote: > > > Is _RTEMS_tasks_Initialize_user_task responsible for starting

Re: What happens during boot time in terms of scheduling?

2020-08-14 Thread Sebastian Huber
On 14/08/2020 11:25, Richi Dubey wrote: Is _RTEMS_tasks_Initialize_user_task responsible for starting the Init task? Yes. Also how does the following code which is part of rtems_initialize_executive:   /* Invoke the registered system initialization handlers */   RTEMS_LINKER_SET_FOREACH(

Re: What happens during boot time in terms of scheduling?

2020-08-14 Thread Richi Dubey
I am looking at cpukit/include/rtems/confdefs/inittask.h right now and so, I know the answer to: Is _RTEMS_tasks_Initialize_user_task responsible for starting the Init task? Still need help with other things. Thanks. On Fri, Aug 14, 2020 at 2:55 PM Richi Dubey wrote: > Hi, > > I've been

What happens during boot time in terms of scheduling?

2020-08-14 Thread Richi Dubey
Hi, I've been trying to debug my program and I request someone to help me learn more about what happens when a system starts. Logically, what is the flow of things happening? Do all the CPUs start at the same time in the beginning? Which is the first node that gets scheduled on the CPU? The