[PATCH 0/1] Implement clockrdlock / clockwrlock and test

2021-10-08 Thread Matt Joyce
Hello, Please find the attached implementions of pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock, two newly added POSIX Issue 8 Standard methods. Also included is the psxrwlock02 test, which is based on the previously existing test for the rwlock_timed*lock methods. Thank you! Matt Joy

[PATCH 1/1] Implement clockrdlock / clockwrlock and test

2021-10-08 Thread Matt Joyce
Added implementations of the pthread_rwlock_clockrdlock and the pthread_rwlock_clockwrlock methods to cpukit/posix/src. Both of these methods have been newly added to the POSIX Issue 8 Standard. psxrwlock02 test added to testsuites/psxtests to test the newly added methods. --- cpukit/posix/src/pr

Re: [PATCH 1/1] Implement clockrdlock / clockwrlock and test

2021-10-08 Thread Joel Sherrill
On Fri, Oct 8, 2021 at 8:23 AM Matt Joyce wrote: > > Added implementations of the pthread_rwlock_clockrdlock and > the pthread_rwlock_clockwrlock methods to cpukit/posix/src. Both of these > methods have been newly added to the POSIX Issue 8 Standard. > > psxrwlock02 test added to testsuites/psxte

[PATCH] rtems-kernel: Implement kernel recipe using waf

2021-10-08 Thread Ryan Long
Closes #4145 --- rtems/config/tools/rtems-kernel-6.cfg | 8 ++- rtems/config/tools/rtems-kernel-common.cfg | 95 +- 2 files changed, 47 insertions(+), 56 deletions(-) diff --git a/rtems/config/tools/rtems-kernel-6.cfg b/rtems/config/tools/rtems-kernel-6.cfg inde

[PATCH] rtems-gdb-9.1-1.cfg: Add patch for Cygwin

2021-10-08 Thread Joel Sherrill
The patch is needed to address link failures introduced when Cygwin apparently changed their base address for executables. This is not an issue with gdb 10 and this is a minimalistic approach to addressing this failure on the 5 branch. Closes #4523. --- rtems/config/tools/rtems-gdb-9.1-1.cfg | 7

[PATCH rtems-tools v1] rtems-tld.cpp: Remove logically dead code

2021-10-08 Thread Ryan Long
CID 1399595: Logically dead code in generate_traces(). Closes #4525 --- linkers/rtems-tld.cpp | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/linkers/rtems-tld.cpp b/linkers/rtems-tld.cpp index 7b42e45..bc1ad89 100644 --- a/linkers/rtems-tld.cpp +++ b/linkers/rtems-tld.cpp

Re: [PATCH rtems-tools v1] rtems-tld.cpp: Remove logically dead code

2021-10-08 Thread Chris Johns
OK to push. On 9/10/21 5:45 am, Ryan Long wrote: > CID 1399595: Logically dead code in generate_traces(). > > Closes #4525 > --- > linkers/rtems-tld.cpp | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/linkers/rtems-tld.cpp b/linkers/rtems-tld.cpp > index 7b42e45..bc

Re: [PATCH] rtems-kernel: Implement kernel recipe using waf

2021-10-08 Thread Chris Johns
Hi Ryan, Thank you for taking this on. I would like see one addition, a user supplied config.ini file that bypasses any generated config file. The config needs to match the tool chain being built and waf will need to complain if it does not but that is not a problem for the RSB to manage. On 9/1

Re: [PATCH] rtems-kernel: Implement kernel recipe using waf

2021-10-08 Thread Joel Sherrill
On Fri, Oct 8, 2021, 6:44 PM Chris Johns wrote: > Hi Ryan, > > Thank you for taking this on. > > I would like see one addition, a user supplied config.ini file that > bypasses any > generated config file. The config needs to match the tool chain being > built and > waf will need to complain if it

Re: [PATCH] rtems-kernel: Implement kernel recipe using waf

2021-10-08 Thread Chris Johns
On 9/10/21 10:49 am, Joel Sherrill wrote: > On Fri, Oct 8, 2021, 6:44 PM Chris Johns > wrote: > > Hi Ryan, > > Thank you for taking this on. > > I would like see one addition, a user supplied config.ini file that > bypasses any > generated config file.