Re: [GSoC 2020]: Need help in writing sed alternative in Python for RSB recipes

2020-08-16 Thread Chris Johns
On 16/8/20 8:29 am, Mritunjay Sharma wrote: > On Sun, Aug 16, 2020 at 12:15 AM Gedare Bloom > wrote: > > Hi Mritunjay, Chris: > > For the RSB, since it is user-facing, we need to be sure to minimize > its dependencies on the user environment and platform. So

Re: RTEMS 5 on the start page of RTEMS.org

2020-08-16 Thread Christian Mauderer
Hello Joel, I noted that we already have RC2 for 5.1. So most likely it's better to wait for 5.1. Otherwise it's double work. On 08/08/2020 18:17, Joel Sherrill wrote: > > > On Sat, Aug 8, 2020, 10:56 AM Christian Mauderer > wrote: > > Hello Joel, > > On 08

Re: [PATCH] bsps/shared/ofw: Implement RTEMS OFW interface

2020-08-16 Thread Chris Johns
On 16/8/20 4:49 am, G S Niteesh Babu wrote: > --- > bsps/include/ofw/ofw.h | 534 > bsps/shared/ofw/ofw.c | 654 > spec/build/bsps/obj.yml | 4 + > 3 files changed, 1192 insertions(+) > create mode 100644 bsps/include/

Re: [GSoC 2020]: Need help in writing sed alternative in Python for RSB recipes

2020-08-16 Thread Mritunjay Sharma
On Sun, Aug 16, 2020 at 1:12 PM Chris Johns wrote: > On 16/8/20 8:29 am, Mritunjay Sharma wrote: > > On Sun, Aug 16, 2020 at 12:15 AM Gedare Bloom > > wrote: > > > > Hi Mritunjay, Chris: > > > > For the RSB, since it is user-facing, we need to be sure to minimize

Re: Need help in figuring out why gdb gives different value of a variable in callee vs caller context

2020-08-16 Thread Richi Dubey
Oh, I printed the variable value too early. Thanks for your help. On Sat, Aug 15, 2020 at 7:24 PM Gedare Bloom wrote: > On Sat, Aug 15, 2020 at 3:15 AM Richi Dubey wrote: > > > > Hi, > > > > With reference to the code (github link), it aims to check if the > Affinty of a node is set to 0 by cal

Re: [PATCH] bsps/shared/ofw: Implement RTEMS OFW interface

2020-08-16 Thread Niteesh G. S.
On Sun, Aug 16, 2020 at 2:25 PM Chris Johns wrote: > On 16/8/20 4:49 am, G S Niteesh Babu wrote: > > --- > > > + > > +#ifdef HAVE_CONFIG_H > > +#include "config.h" > > +#endif > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > + > > +const void *fd

Re: Context switching through an ISR in RTEMS

2020-08-16 Thread Gedare Bloom
On Sat, Aug 15, 2020 at 9:03 PM Utkarsh Rai wrote: > > > > On Sun, Aug 16, 2020 at 6:12 AM Utkarsh Rai wrote: >> >> >> >> On Sat, Aug 15, 2020 at 7:26 PM Gedare Bloom wrote: >>> >>> On Sat, Aug 15, 2020 at 6:26 AM Utkarsh Rai wrote: >>> > >>> > >>> > On Thu, Aug 13, 2020 at 5:10 AM Utkarsh Rai

Re: [GSoC 2020]: Need help in writing sed alternative in Python for RSB recipes

2020-08-16 Thread Gedare Bloom
On Sun, Aug 16, 2020 at 4:16 AM Mritunjay Sharma wrote: > > > > On Sun, Aug 16, 2020 at 1:12 PM Chris Johns wrote: >> >> On 16/8/20 8:29 am, Mritunjay Sharma wrote: >> > On Sun, Aug 16, 2020 at 12:15 AM Gedare Bloom > > > wrote: >> > >> > Hi Mritunjay, Chris: >> > >>

Re: Context switching through an ISR in RTEMS

2020-08-16 Thread Utkarsh Rai
On Sun, Aug 16, 2020 at 9:18 PM Gedare Bloom wrote: > On Sat, Aug 15, 2020 at 9:03 PM Utkarsh Rai > wrote: > > > > > > > > On Sun, Aug 16, 2020 at 6:12 AM Utkarsh Rai > wrote: > >> > >> > >> > >> On Sat, Aug 15, 2020 at 7:26 PM Gedare Bloom wrote: > >>> > >>> On Sat, Aug 15, 2020 at 6:26 AM Ut

Re: Need help in figuring out why gdb gives different value of a variable in callee vs caller context

2020-08-16 Thread Richi Dubey
Hi, The gdb trace above refers to this code where the items in all_Nodes chain are checked. The items in the chain are getting inserted here

Re: [PATCH] bsps/shared/ofw: Implement RTEMS OFW interface

2020-08-16 Thread Chris Johns
On 16/8/20 11:19 pm, Niteesh G. S. wrote: > > On Sun, Aug 16, 2020 at 2:25 PM Chris Johns > wrote: > > On 16/8/20 4:49 am, G S Niteesh Babu wrote: > > --- > > > + > > +#ifdef HAVE_CONFIG_H > > +#include "config.h" > > +#endif > > + > > +#

Re: Need help in figuring out why gdb gives different value of a variable in callee vs caller context

2020-08-16 Thread Gedare Bloom
This is wrong: https://github.com/richidubey/rtems/blob/c3162134d3fd7d4d46ec01609d81bdb62bc818af/cpukit/score/src/schedulerstrongapa.c#L182 It assumes the Chain_Node is at the start of the struct Scheduler_strong_APA_Node. On Sun, Aug 16, 2020 at 11:34 AM Richi Dubey wrote: > > Hi, > > The gdb

Re: Need help in figuring out why gdb gives different value of a variable in callee vs caller context

2020-08-16 Thread Richi Dubey
Thanks a lot! This is why get_highest_ready was causing problems. I couldn't have figured it out by myself. On Mon, Aug 17, 2020 at 4:14 AM Gedare Bloom wrote: > This is wrong: > https://github.com/richidubey/rtems/blob/c3162134d3fd7d4d46ec01609d81bdb62bc818af/cpukit/score/src/schedulerstrongapa

Re: [PATCH] bsps/shared/ofw: Implement RTEMS OFW interface

2020-08-16 Thread Niteesh G. S.
On Mon, Aug 17, 2020 at 3:49 AM Chris Johns wrote: > On 16/8/20 11:19 pm, Niteesh G. S. wrote: > > > > On Sun, Aug 16, 2020 at 2:25 PM Chris Johns > > wrote: > > > > On 16/8/20 4:49 am, G S Niteesh Babu wrote: > > > --- > > > > > + > > > +#ifdef HAVE_CONF

Re: Context switching through an ISR in RTEMS

2020-08-16 Thread Sebastian Huber
On 16/08/2020 18:09, Utkarsh Rai wrote: On Sun, Aug 16, 2020 at 9:18 PM Gedare Bloom > wrote: On Sat, Aug 15, 2020 at 9:03 PM Utkarsh Rai mailto:utkarsh.ra...@gmail.com>> wrote: > > > > On Sun, Aug 16, 2020 at 6:12 AM Utkarsh Rai mailto:ut