Commit Graph

37759 Commits

Author SHA1 Message Date
Joel Sherrill
c9f85784d3 bsps & testsuites: Fix SPDX/license mismatch
These files had BSD-2 Clause SPDX but the license text still
was the historical license.

Updates #3053.
2026-02-02 15:19:52 -06:00
Gedare Bloom
63034d7368 cpukit/confdefs: reformat with clang-format
Updates #3860.
Closes #5353.
2026-02-02 14:45:09 -06:00
Gedare Bloom
9da9c086e3 cpukit/sapi: reformat src with clang-format
Updates #3860.
Updates #5353.
2026-02-02 14:45:09 -06:00
Gedare Bloom
72dd54eaa8 cpukit/libcsupport: reformat src with clang-format
excludes cfmakeraw.c, cfmakesane.c, realpath.c

Updates #3860.

Closes #5355.
2026-02-02 14:44:08 -06:00
Gedare Bloom
d68ce7ca80 cpukit/libfs: reformat imfs with clang-format
Updates #3860.

Closes #5357.
2026-02-02 14:43:27 -06:00
Gedare Bloom
da0c99d2a1 testsuites/fstests: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
689913555d testsuites/sptests: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
c9101cef19 testsuites/mptests: reformat with clang-format
Updates #3860.
Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
834a0350b5 testsuites/tmtests: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
7c24bcced0 testsuites/support: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
f5d93a7421 testsuites/smptests: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
57ea3fe79f testsuites/samples: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
f2b17295cb testsuites/rhealstone: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
87e4f79bd1 testsuites/psxtmtests: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
077fbf519b testsuites/psxtests: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
4d1604efb6 testsuites/libtests: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
71ec6ca8c7 libtests/stringto01: remove duplicated macros
The __STRING and __XSTRING are defined in cdefs.h. Delete from the test.
2026-02-02 14:35:59 -06:00
Gedare Bloom
b88fbdb4c0 cpukit/posix: reformat include with clang-format
Updates #3860.
Closes #5356.
2026-02-02 14:32:33 -06:00
Gedare Bloom
90327627ef cpukit/posix: reformat src with clang-format
Updates #3860.
Updates #5356.
2026-02-02 14:32:33 -06:00
Gedare Bloom
fb2f5ef165 cpukit/rtems: reformat include with clang-format
Updates #3860.
Closes #5352.
2026-02-02 19:46:25 +00:00
Gedare Bloom
95d41df8b6 cpukit/rtems: reformat src with clang-format
Updates #3860.
Updates #5352.
2026-02-02 19:46:25 +00:00
Gedare Bloom
cbd392efb2 cpukit/score: move src/kern_* to src/contrib/
Updates #5374
2026-02-02 19:16:07 +00:00
Gedare Bloom
2436216d68 cpukit/mouse: relocate mouse_parser.c
Updates #5374
2026-02-02 19:16:07 +00:00
Gedare Bloom
fbc96a878b cpukit/dev: relocate iovprintf.c
Updates #5374
2026-02-02 19:16:07 +00:00
Gedare Bloom
6505a6baa8 cpukit/libcsupport: consolidate third party code
Updates #5437
2026-02-02 19:16:07 +00:00
Joel Sherrill
3834430ea1 cpukit/posix/src/mmap.c: 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-02 12:57:12 -06:00
Joel Sherrill
80365c94a7 cpukit/libdl: 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-02 12:57:12 -06:00
Joel Sherrill
7499713116 cpukit/libdebugger/rtems-debugger-smp.c: 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-02 12:57:12 -06:00
Joel Sherrill
d4d68cb960 cpukit/libcsupport: 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-02 12:57:12 -06:00
Joel Sherrill
feac23ce18 cpukit/.../imfs: 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-02 12:48:43 -06:00
Joel Sherrill
0b7eb103fe cpukit/dev: 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-02 12:48:43 -06:00
Joel Sherrill
efe6dd524c testsuites/fstests/fsrdwr/init.c: 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-02 12:48:43 -06:00
Joel Sherrill
31103bd0b3 cpukit/libcsupport: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.
2026-02-02 18:40:50 +00:00
Gedare Bloom
324673568b cpukit/score: reformat include with clang-format
Updates #3560.
Updates #5351.
2026-02-01 19:24:33 -06:00
Gedare Bloom
969f1a823b cpukit/score: reformat src with clang-format
Updates #3860.
Updates #5351.
2026-02-01 19:24:33 -06:00
Gedare Bloom
f85f0d822e score: disable clang-format in log2table
Updates #5351.
2026-02-01 19:24:33 -06:00
Gedare Bloom
4da7a225e8 rtems: add _clang-format in root
Updates #3860.
2026-02-01 19:24:33 -06:00
Joel Sherrill
9deb5b8323 spec/build/cpukit/optwarn.yml: Update warning CFLAGS
Warnings enabled by -Wextra have now been addressed except for
-Wcast-function-type and -Wsign-compare.
2026-01-30 09:04:58 -06:00
Ning Yang
33950b4418 aarch64: add rk3399_rockpro64 BSP
This adds a basic BSP for RockPro64, which includes a UART,
an ARM timer, and GICv3 support, and utilizes all available
memory as defined by the upstream U-Boot configuration.

Closes #5414
2026-01-29 18:51:40 -06:00
Kinsey Moore
76614d5200 jffs2: Resolve signed comparison warnings
JFFS2 uses the high values of the unsigned flash offset in a raw node
reference as special identifiers and specifies them using negative
integer literals. This disables those errors for non-RTEMS source and
constrains such comparisons in RTEMS code to avoid larger reworks of the
JFFS2 upstream source.
2026-01-29 18:08:05 -06:00
Yash
578d2e4e46 confdefs: Remove error for reporter without stack checker
Previously, if a user defined a stack checker reporter but disabled
the stack checker (e.g. for testing), the build would fail with an #error.
This change removes the error to allow flexible configuration.

Closes #5425
2026-01-29 19:40:44 +00:00
Joel Sherrill
9b1a9ec163 bsps/sparc/shared/gnatcommon.c: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.
2026-01-28 19:31:11 +00:00
Joel Sherrill
b906181b15 bsps/shared/dev: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.
2026-01-28 19:31:11 +00:00
Joel Sherrill
474c74efce bsps/shared/grlib: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.
2026-01-28 19:31:11 +00:00
Joel Sherrill
be62df1493 cpukit/rtems/rtemsobjectgetclassinfo.c: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.
2026-01-28 19:20:27 +00:00
Joel Sherrill
211acc10da cpukit/shell/edit: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.
2026-01-28 13:19:23 -06:00
Joel Sherrill
963ba98047 cpukit/.../scheduler*: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.

This addresses sign comparison warnings primarily in the CBS.
2026-01-28 19:18:27 +00:00
Joel Sherrill
54d703967f cpukit/.../termios: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.
2026-01-28 19:15:44 +00:00
Joel Sherrill
55d18c302e fstests: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.
2026-01-28 19:14:53 +00:00
Joel Sherrill
dd4670e83d cpukit/libfs/rfs: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.

This addresses sign comparison warnings in the RFS.
2026-01-28 19:13:39 +00:00