RE: [PATCH] posix: Only check shm_unlink obj_err if necessary

2020-06-27 Thread Kinsey Moore
Sorry, accidentally sent from my personal account. That was, in fact, me. Kinsey From: Will Sent: Saturday, June 27, 2020 19:24 To: Gedare Bloom Cc: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH] posix: Only check shm_unlink obj_err if necessary Ticket 4016 opened for 5.1 and patch sent w

Re: [PATCH] posix: Only check shm_unlink obj_err if necessary

2020-06-27 Thread Will
Ticket 4016 opened for 5.1 and patch sent with appropriate close tag. On Sat, Jun 27, 2020 at 4:30 PM Gedare Bloom wrote: > This needs a ticket now to apply to 5, and we'll want to apply to 6 also. > Can you open a ticket and post a patch for 5.1? > > On Thu, Jun 25, 2020, 5:49 PM Kinsey Moore

[PATCH v1] posix: Only check shm_unlink obj_err if necessary

2020-06-27 Thread Kinsey Moore
In the nominal case checked by spsysinit01, obj_err is unmodified if _POSIX_Shm_Get_by_name returns non-NULL. In the case of shm_unlink, this means an uninitialized value is passed into the switch and it appears tests using it were passing by virtue of the stack having the right value on it in most

Re: RTEMS 6

2020-06-27 Thread Joel Sherrill
On Fri, Jun 26, 2020, 1:11 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > in the rtems-release repository we have a rtems-notes-5.txt file. Should > I already add an rtems-notes-6.txt so that we can build up this file > already during the development cycle? > A human

Re: [PATCH] posix: Only check shm_unlink obj_err if necessary

2020-06-27 Thread Gedare Bloom
This needs a ticket now to apply to 5, and we'll want to apply to 6 also. Can you open a ticket and post a patch for 5.1? On Thu, Jun 25, 2020, 5:49 PM Kinsey Moore wrote: > Hey Gedare, > Setting obj_err to 0 would get the desired outcome, but the logic as it > exists now is faulty. Setting obj_

Re: Offset locations of registers in ARM context-switch code

2020-06-27 Thread Sebastian Huber
On 27/06/2020 19:02, Utkarsh Rai wrote: The 'Context_Control' structure in score/.../arm/cpu.h has registers and attributes that need to be saved during context-switching. Some of these registers/attributes are conditionally compiled depending upon the mode in which the processor is running. Th

Offset locations of registers in ARM context-switch code

2020-06-27 Thread Utkarsh Rai
Hello, The 'Context_Control' structure in score/.../arm/cpu.h has registers and attributes that need to be saved during context-switching. Some of these registers/attributes are conditionally compiled depending upon the mode in which the processor is running. The registers are saved by 'ldr' instru