[PATCH rtems v1 00/10] Address unused parameter warnings

2023-08-21 Thread Joel Sherrill
Some of the architecture ports do not have implementations of the context validation methods. The stubs do not reference the parameter. This series of patches addresses that. I separated them so each port is distinct. --joel Joel Sherrill (10): bfin/include/rtems/score/cpuimpl.h: Address unuse

[PATCH rtems v1 02/10] i386/include/rtems/score/cpuimpl.h: Address unused parameter warning

2023-08-21 Thread Joel Sherrill
--- cpukit/score/cpu/i386/include/rtems/score/cpuimpl.h | 4 1 file changed, 4 insertions(+) diff --git a/cpukit/score/cpu/i386/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/i386/include/rtems/score/cpuimpl.h index f0e4088218..ba5d820016 100644 --- a/cpukit/score/cpu/i386/include/rtems/s

[PATCH rtems v1 01/10] bfin/include/rtems/score/cpuimpl.h: Address unused parameter warning

2023-08-21 Thread Joel Sherrill
--- cpukit/score/cpu/bfin/include/rtems/score/cpuimpl.h | 4 1 file changed, 4 insertions(+) diff --git a/cpukit/score/cpu/bfin/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/bfin/include/rtems/score/cpuimpl.h index 05628a2c0b..aaf34a3ce0 100644 --- a/cpukit/score/cpu/bfin/include/rtems/s

[PATCH rtems v1 06/10] moxie/include/rtems/score/cpuimpl.h: Address unused parameter warning

2023-08-21 Thread Joel Sherrill
--- cpukit/score/cpu/moxie/include/rtems/score/cpuimpl.h | 4 1 file changed, 4 insertions(+) diff --git a/cpukit/score/cpu/moxie/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/moxie/include/rtems/score/cpuimpl.h index 8ded8c34e9..30c2c75f2b 100644 --- a/cpukit/score/cpu/moxie/include/rte

[PATCH rtems v1 03/10] lm32/include/rtems/score/cpuimpl.h: Address unused parameter warning

2023-08-21 Thread Joel Sherrill
--- cpukit/score/cpu/lm32/include/rtems/score/cpuimpl.h | 4 1 file changed, 4 insertions(+) diff --git a/cpukit/score/cpu/lm32/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/lm32/include/rtems/score/cpuimpl.h index 679ef452f4..870640864c 100644 --- a/cpukit/score/cpu/lm32/include/rtems/s

[PATCH rtems v1 04/10] m68k/include/rtems/score/cpuimpl.h: Address unused parameter warning

2023-08-21 Thread Joel Sherrill
--- cpukit/score/cpu/m68k/include/rtems/score/cpuimpl.h | 4 1 file changed, 4 insertions(+) diff --git a/cpukit/score/cpu/m68k/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/m68k/include/rtems/score/cpuimpl.h index ec90a41ae2..4bee157215 100644 --- a/cpukit/score/cpu/m68k/include/rtems/s

[PATCH rtems v1 05/10] mips/include/rtems/score/cpuimpl.h: Address unused parameter warning

2023-08-21 Thread Joel Sherrill
--- cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h | 4 1 file changed, 4 insertions(+) diff --git a/cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h index ad6b7ae615..d619eb6213 100644 --- a/cpukit/score/cpu/mips/include/rtems/s

[PATCH rtems v1 09/10] v850/include/rtems/score/cpuimpl.h: Address unused parameter warning

2023-08-21 Thread Joel Sherrill
--- cpukit/score/cpu/v850/include/rtems/score/cpuimpl.h | 4 1 file changed, 4 insertions(+) diff --git a/cpukit/score/cpu/v850/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/v850/include/rtems/score/cpuimpl.h index 5ec528961c..3985c3cdb9 100644 --- a/cpukit/score/cpu/v850/include/rtems/s

[PATCH rtems v1 07/10] sh/include/rtems/score/cpuimpl.h: Address unused parameter warning

2023-08-21 Thread Joel Sherrill
--- cpukit/score/cpu/sh/include/rtems/score/cpuimpl.h | 4 1 file changed, 4 insertions(+) diff --git a/cpukit/score/cpu/sh/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/sh/include/rtems/score/cpuimpl.h index 3e37c8f57d..ca87c61c2b 100644 --- a/cpukit/score/cpu/sh/include/rtems/score/cpu

[PATCH rtems v1 08/10] sparc64/include/rtems/score/cpuimpl.h: Address unused parameter warning

2023-08-21 Thread Joel Sherrill
--- cpukit/score/cpu/sparc64/include/rtems/score/cpuimpl.h | 4 1 file changed, 4 insertions(+) diff --git a/cpukit/score/cpu/sparc64/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/sparc64/include/rtems/score/cpuimpl.h index c49c637805..a29a519644 100644 --- a/cpukit/score/cpu/sparc64/inc

[PATCH rtems v1 10/10] x86_64/include/rtems/score/cpuimpl.h: Address unused parameter warning

2023-08-21 Thread Joel Sherrill
--- .../score/cpu/x86_64/include/rtems/score/cpuimpl.h | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/cpukit/score/cpu/x86_64/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/x86_64/include/rtems/score/cpuimpl.h index e0e301b6bc..726a515d4e 100644 --- a/cpukit/

[PATCH] bsp/riscv: Add a new SiFive Unleashed QEMU bsp

2023-08-21 Thread Amna
This commits add a new SiFive Unleashed bsp which follows the RV64IMAC RISC-V Architecture. It can be run on QEMU provided by the RTEMS source builder's devel/qemu bset. This BSP requires a minimum of 128MB (Default) of RAM size which can be changed using the RISCV_RAM_REGION_SIZE configuration opt

[PATCH rtems-docs] user/riscv/sifive_u: Added Documentation for the new SiFive Unleashed BSP

2023-08-21 Thread Amna
This commit contains all the required information to build and run the new BSP. --- user/bsps/bsps-riscv.rst | 52 1 file changed, 52 insertions(+) diff --git a/user/bsps/bsps-riscv.rst b/user/bsps/bsps-riscv.rst index 263796e..76b70ce 100644 --- a/user/bs

Re: (libdl) Fwd: New Defects reported by Coverity Scan for RTEMS

2023-08-21 Thread Joel Sherrill
Moving it back to devel@. It appears to be from this bit of magic in the same file which implements it using a direct reference to register g7. #elif defined(__sparc__) #include # define __get_tls() ({ void** __val; register uintptr_t g7 __asm__( "g7" ); __val = (void**) g7; __val; }) I honestl

Re: (libdl) Fwd: New Defects reported by Coverity Scan for RTEMS

2023-08-21 Thread Gedare Bloom
flag it as a false positive. g7 is a global register that is reserved for system / compiler use in the sparc ABI On Mon, Aug 21, 2023 at 2:17 PM Joel Sherrill wrote: > > Moving it back to devel@. > > It appears to be from this bit of magic in the same file which implements it > using a direct r

Re: (libdl) Fwd: New Defects reported by Coverity Scan for RTEMS

2023-08-21 Thread Chris Johns
On 22/8/2023 10:02 am, Gedare Bloom wrote: > flag it as a false positive. I agree. > g7 is a global register that is reserved for system / compiler use in > the sparc ABI The reigster is set up by the operating system out of the view of Coverity. I took the code from: https://git.rtems.org/rtem