Commit Graph

37862 Commits

Author SHA1 Message Date
Gedare Bloom
cfe088dc51 .gitlab: update ignore.toml for fastlz
Updates #5437
2026-02-13 21:12:52 +00:00
Gedare Bloom
88f556d987 spec/build: fix sort in librtemscpu.yml
Updates #5437
2026-02-13 21:12:52 +00:00
Gedare Bloom
9b4525cfda .gitlab: update ignore.toml for jffs2 relocation
Updates #5437
2026-02-13 21:12:52 +00:00
Gedare Bloom
e18796999f .gitlab: update ignore.toml for cpukit/compression
Updates #5437
2026-02-13 21:12:52 +00:00
Gedare Bloom
5b9df2e4be .gitlab: update ignore.toml for uuid
Updates #5437
2026-02-13 21:12:52 +00:00
Bhuvan
314f38e8d4 bsps/shared/: fix pedantic warnings for SPIN_DECLARE
Fixes #5483
2026-02-13 13:32:11 +00:00
Sam Price
03a2e44c9c tc-cpuuse.c: magic number cleanup
Cleanup magic number for readability.
2026-02-12 18:32:13 -06:00
Aaron Nyholm
9ff62c34f7 cpukit/libio: Fix race condition in iop free
Closes #5411
2026-02-12 15:04:29 -06:00
Gedare Bloom
7a4c7d1ed0 cpukit: formatting fixes
Updates #3860
2026-02-12 12:17:04 -06:00
M Mithilesh
975e36b407 cpukit/posix: Fix uninitialized read in sem_open (CID 1667263)
Note: This fix was analyzed and implemented manually based
on the Coverity report.
2026-02-12 17:45:56 +00:00
Preetam Das
e5eaa82420 bsps/aarch64/raspberrypi5: Add initial Raspberry Pi 5 BSP
This is initial mvp implementation for the Pi5 BSP. The
initial support has the following features:

- PL011 debug uart (full termios console driver)
- Arm Generic Timer (virtual interface)
- GIC-V2 interrupts

This will be extended in follow-up work.

Should Close rtems/programs/gsoc#85
2026-02-11 18:44:47 -05:00
Santosh Bala
c014ab9b2d stm32f4: add stm32f446ze variant and variant specific linker selection
Adds an STM32F4 BSP variant with a variant linker script.
2026-02-10 18:43:51 +00:00
Joel Sherrill
c893731d11 bsps/powerpc/include/bsp/VMEDMA.h: Address cast-function-type warning
This warning occurs when casting a function pointer to be a function
of a different type.
2026-02-09 16:59:41 -06:00
Kinsey Moore
fa81397286 spec/optwarn: Drop global warning avoidance flags
Now that all warnings should be resolved, drop the flags disabling the
remaining warnings.
2026-02-09 17:23:00 +00:00
Kinsey Moore
9b86017d18 x86_64/amd64: Address SMP sign compare warning
The variable starts at 0 and counts upwards, so unsigned is more
appropriate.
2026-02-09 17:23:00 +00:00
Kinsey Moore
c373cc01db cpukit/or1k: Update CPU_ISR_handler signature
Update the OR1K CPU_ISR_handler function signature to avoid casting
function pointers.
2026-02-09 17:23:00 +00:00
Kinsey Moore
be2cd3b761 spec/jffs2: Remove sign comparison checks
Resolving warnings on 3rd-party code can be invasive and will make it
harder to bring in updates from upstream. For issues outside -Wall,
disable the warning for this piece of code instead.
2026-02-09 17:23:00 +00:00
Kinsey Moore
ef52cb5fbc cpukit/dev/can: Resolve sign comparison warning
Make the constant unsigned so that signedness on both sides of the
comparison matches.
2026-02-09 17:23:00 +00:00
Mostafa Abdelglel
117e2e083b README.md: Update fix POSIX Compliance guide link
Fix broken link for the POSIX Compliance guide by replacing master with
main
2026-02-08 03:47:37 +02:00
Kinsey Moore
120bc92b04 libmisc/stringto: Resolve error on 64bit systems
On 32bit systems, int and long are the same size. This is not the case
on 64bit systems. This corrects the maximum value of the stringto type
on those systems.
2026-02-06 13:29:20 -06:00
Kinsey Moore
f99e154586 spec/jffs2: Update warning flags for summary support
This flag was missed due to out of date GCC and is necessary for GCC 15
to avoid errors in third-party code.
2026-02-06 13:29:20 -06:00
Kinsey Moore
8a776715fe shared/irq: Resolve function cast warning
The function cast from more parameters to fewer parameters is generally
unsafe as the additional parameters will be undefined values that happen
to be in the right registers if it is ever called. Instead of casting
the function pointer, provide a dummy function pointer when the original
function pointer is non-NULL since it is only ever used for a
NULL-check.
2026-02-06 13:29:20 -06:00
Prashant Rahul
97e4174c62 cpukit/stringto: return RTEMS_INVALID_ADDRESS when null input string
libc's strto* functions' behaviour isn't defined when the passed string
is NULL. In glibc it causes a seg fault when I tested it. This could
cause inconsistency.
rtem's stringto* functions didnt previously checked for null before
passing to underlying strto* functions.

Added the check which returns `RTEMS_INVALID_ADDRESS` on failure.

Also added a test case for the same

Signed-off-by: Prashant Rahul <prashantrahul141@protonmail.com>
2026-02-06 17:47:28 +00:00
Joel Sherrill
9c7666ba2d bsps/powerpc: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 23:17:46 +00:00
Gedare Bloom
59ef829a34 cpukit/rfs: use InsertBraces
Updates #5342.
2026-02-05 14:43:37 -07:00
Gedare Bloom
42b507dca0 cpukit/rtl: add missing parenthesis
Fixes #5480
2026-02-05 14:41:47 -07:00
Gedare Bloom
b7b0eb1142 cpukit/libdl: format with InsertBraces
Updates #5344
2026-02-05 14:40:30 -07:00
Gedare Bloom
0512135fb1 cpukit/dev/can: fix typo in format directive
Updates #3860
2026-02-05 14:57:03 -06:00
Gedare Bloom
3480dc3644 cpukit/librtemscxx: reformat
Fixes #5453.
2026-02-05 14:55:29 -06:00
Gedare Bloom
6c47d4d000 cpukit/libmisc: relicense stringto
Fixes #5475
Updates #3053
2026-02-05 14:50:37 -06:00
Gedare Bloom
41df32a43c cpukit/libmisc: reformat stringto
Fixes #5472.
2026-02-05 14:50:37 -06:00
Gedare Bloom
706eab69db cpukit/include: reformat headers
Using OAR style for posix and rtems headers at global scope
2026-02-05 14:06:45 -06:00
Joel Sherrill
959ef5b3bb bsps/x86_64: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-06 07:04:47 +11:00
Gedare Bloom
332d42027f cpukit/include: reformat linux to OAR style
These are linux support header files, not imports from linux.

fixes #5479.
2026-02-05 14:01:17 -06:00
Gedare Bloom
4ac38c5427 cpukit/libdrvmgr: reformat
Fixes #5446
2026-02-05 14:00:25 -06:00
Gedare Bloom
f7737a09b0 cpukit/libpci: reformat
Fixes #5452
2026-02-05 12:14:40 -07:00
Gedare Bloom
149df22aeb cpukit/dev: reformat io files
Closes #5443.
2026-02-05 10:46:11 -07:00
Gedare Bloom
1b17076054 cpukit/dev/spi: reformat
Updates #5443.
2026-02-05 10:46:11 -07:00
Gedare Bloom
4ced2b7f33 cpukit/dev/serial: reformat
Updates #5443.
2026-02-05 10:46:11 -07:00
Gedare Bloom
0e85986583 cpukit/dev/i2c: reformat
updates #5443.
2026-02-05 10:46:11 -07:00
Gedare Bloom
ffd859a304 cpukit/dev/flash: reformat
Updates #5443
2026-02-05 10:46:11 -07:00
Gedare Bloom
c6cdbd2c60 cpukit/dev/can: reformat
Updates #5443
2026-02-05 10:46:09 -07:00
Gedare Bloom
a665d2ea47 cpukit/dev: disable formatting array
Updates #5443.
2026-02-05 10:45:16 -07:00
Joel Sherrill
ec5d809fa2 fstests/fsrdwr: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 17:39:08 +00:00
Gedare Bloom
b98b397491 cpukit/rfs: reformat to LLVM style
Fixes #5342.
2026-02-05 17:36:21 +00:00
Gedare Bloom
6238a211ed libdl: fix errors after reformatting
Some of the include reordering caused compile errors.
2026-02-05 10:24:14 -07:00
Gedare Bloom
2a7ec88270 cpukit/libfs/ftpfs: reformat
fixes #5447
2026-02-05 09:53:09 -06:00
Gedare Bloom
715615e0ab cpukit/libfs/defaults: reformat
fixes #5457
2026-02-05 09:53:09 -06:00
Gedare Bloom
b8fad099e8 cpukit/libfs/pipe: reformat
Fixes #5448.
2026-02-05 09:53:09 -06:00
M Mithilesh
fe397f9c0e cpukit/posix: Fix uninitialized read in mq_open (CID 1667264)
Note: This fix was analyzed and implemented manually based
on the Coverity report.
2026-02-05 09:51:04 -06:00