Commit Graph
37332 Commits
Author SHA1 Message Date
Joel Sherrill eb6cbbf997 arm, rtl22xx: Relicense Ray Xy contributions to 2-BSD
Permission granted to relicense.

Updates #3053.
2025-09-08 12:25:34 -05:00
Sebastian Huber cfe232c935 validation: Rearrange storage-qualifier
Place _Thread_local after static to be in line with the rest of the
code.
2025-09-08 04:33:52 +02:00
Mazen Adel Elmessady c6606de311 cpukit/posix: Add clock support to thread queue timeouts
Added new functions to thread queue infrastructure to support
clock-specific timeout operations, making it easier to integrate
POSIX Issue 8 clock functions.

Updates
rtems/programs/gsoc#69
rtems#24
2025-09-06 16:16:12 +00:00
Kinsey Moore b898aa6203 cpukit/flashdev: Correct page/sector references 2025-09-05 13:13:19 -05:00
Sunil Hegde ac67445c84 cpukit/libgnat/ada_intrsupp.c: Fixed formatting
Fixed formatting based on suggestions by format diff.
2025-09-04 19:06:13 -05:00
Sunil Hegde ccef4b74d0 cpukit/libgnat/ada_intrsupp.c: removed uses of set_vector()
removed uses of set_vector in __gnat_interrupt_connect()
and __gnat_interrupt_set()

Updates #5215
2025-09-04 19:06:13 -05:00
Bhavya Shah 4646d614c3 cpukit/libfs/imfs: Fix the maximum file size calculation
Fixes #5319
2025-09-04 18:26:46 -05:00
Joel Sherrill 022dd54744 sptests/spcbssched*, spqreslib: Add header for Petr Benes
These files did not have copyright, license, or SPDX. Per git log
these files were authored by Petr Benes who has other code in the
RTEMS source base and given permission to use BSD-2.

Updates #3053
2025-09-04 18:13:31 -05:00
Kinsey Moore 7a36500b6b Revert "spec/build/cpukit/optwarn.yml: Add -Wcalloc-transposed-args"
This reverts commit 71670c9cb0.

This option is not available on GCC 13.
2025-09-04 17:30:35 -05:00
Martin Erik Werner b19d1c49ed cpukit: Correct region documentation notes
Update the rtems_region_get_information() and
rtems_region_get_information() documentation with various more or less
minor wording fixes:

* "obtain a diagnostic information." ->
  "obtain diagnostic information."

* "This method forms am O(n)" ->
  "This directive performs an O(n)"

* "scan of the free in the region" ->
  "scan of the free blocks in the region"

* "many used blocks and a much smaller number of used blocks" ->
  "many used blocks and a much smaller number of free blocks"

These changes were generated from rtems-central.
2025-09-04 15:46:44 +00:00
Joel Sherrill 71670c9cb0 spec/build/cpukit/optwarn.yml: Add -Wcalloc-transposed-args
Add check for calls to calloc() having the size (sizeof) and
number of elements (int) swapped.
2025-09-04 15:43:45 +00:00
Joel Sherrill 017ec9440e cpukit/libmisc/regulator/regulator.c: Fix order of calloc() arguments
Address calls to calloc () which swap the number of elements and
size of each element argument.
2025-09-04 15:43:45 +00:00
Joel Sherrill 65cac69a1c cpukit/libblock/src/bdbuf.c: Fix order of calloc() arguments
Address calls to calloc () which swap the number of elements and
size of each element argument.
2025-09-04 15:43:45 +00:00
Joel Sherrill c0fba626cb spec/build/cpukit/optwarncc.yml: Add -Wold-style-declaration
Newer C versions require that the storage-class specifier like
static or _Thread_Local be the first thing in a declaration. Adding
this warning to the default set to let us eliminate violations.
2025-09-03 09:15:17 -05:00
Joel Sherrill 0dc1f06dbc testsuites/*: Fix old style declaration
Newer C versions require that the storage-class specifier like
static or _Thread_Local be the first thing in a declaration.
2025-09-03 09:15:17 -05:00
Joel Sherrill a162a5cdcf cpukit/include/*: Fix old style declaration
Newer C versions require that the storage-class specifier like
static or _Thread_Local be the first thing in a declaration.
2025-09-03 09:15:17 -05:00
Joel Sherrill b960eaf405 bsps/x86_64/*: Fix old style declaration
Newer C versions require that the storage-class specifier like
static or _Thread_Local be the first thing in a declaration.
2025-09-03 09:15:17 -05:00
Joel Sherrill 72837b30d8 bsps/shared/*: Fix old style declaration
Newer C versions require that the storage-class specifier like
static or _Thread_Local be the first thing in a declaration.
2025-09-03 09:15:17 -05:00
Joel Sherrill c4779c4b4e bsps/riscv/*: Fix old style declaration
Newer C versions require that the storage-class specifier like
static or _Thread_Local be the first thing in a declaration.
2025-09-03 09:15:17 -05:00
Joel Sherrill 817ddf0750 bsps/powerpc/*: Fix old style declaration
Newer C versions require that the storage-class specifier like
static or _Thread_Local be the first thing in a declaration.
2025-09-03 09:15:17 -05:00
Joel Sherrill 02fbe6e9b5 bsps/include: Fix old style declaration
Newer C versions require that the storage-class specifier like
static or _Thread_Local be the first thing in a declaration.
2025-09-03 09:15:17 -05:00
Joel Sherrill d3a1757ac7 bsps/arm: Fix old style declaration
Newer C versions require that the storage-class specifier like
static or _Thread_Local be the first thing in a declaration.
2025-09-03 09:15:16 -05:00
Sebastian Huber 312ea98ed2 validation: Use Markdown formatting
This file is generated from specification items.  Use Markdown format.
2025-09-02 16:54:57 +00:00
Sebastian Huber 79ca48adcc rtems: Use single '`' for code phrases
These files are generated from specification items.  Use Markdown
format.
2025-09-02 16:54:57 +00:00
Sebastian Huber 33e3b09c16 rtems: Use '-' instead of '*' for Doxygen lists
These files are generated from specification items.  The Markdown
formatting tool used for the documentation sources requires the use
of '-' for lists instead of '*'.
2025-09-02 16:54:57 +00:00
Sebastian Huber d07bf743a3 rtems: Add missing copyright
Add copyright for rtems_barrier_get_number_waiting().
2025-09-02 16:54:57 +00:00
Sebastian Huber f691b48e4d appl-config: Replace reST role
Doxygen does not understand the :term: role.
2025-09-02 16:54:57 +00:00
Sebastian Huber 10bcc955d3 validation: Fix formatting
Remove double blank lines.
2025-09-02 16:54:57 +00:00
Shaunak Datar 02de8a383d bsp/arch64/raspberrypi: Add I2C TX interrupt support
Adds the interrupt support for TX in the I2C driver
2025-08-28 18:33:49 -05:00
Kinsey Moore 94251a25fb cpukit: Remove telnetd
The telnet server library is being moved from the primary RTEMS
repository to the rtems-net-services repository.

Updates #5290
2025-08-26 14:42:42 -04:00
Joel Sherrill 334fd1ce9e testsuites/fstests/*: Use llabs() not abs() on time_t variable
time_t is a 64-bit quanity so using abs() which is for int is not
a good idea since it can lead to truncation.
2025-08-22 16:05:56 -05:00
Gedare Bloom f1f14b5307 rtems: update licenses to 2BSD
This is an update of remaining Cogent Computer Systems licenses
from the RTEMS License to the 2-BSD licence.

Updates #3053.
2025-08-22 10:03:43 -06:00
Joel Sherrill fb9bfe4011 testsuites/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:15:47 -05:00
Joel Sherrill 0c0607d071 bsps/x86_64/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:14:12 -05:00
Joel Sherrill 3c201420e4 bsps/sparc/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:14:12 -05:00
Joel Sherrill f665d19812 bsps/shared/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:14:12 -05:00
Joel Sherrill 8a9b574ed5 bsps/or1k/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:14:12 -05:00
Joel Sherrill 82de7c4daa bsps/powerpc/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:14:12 -05:00
Joel Sherrill 03503d13fb bsps/nio2/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:14:12 -05:00
Joel Sherrill edd7f1d460 bsps/mips/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:14:12 -05:00
Joel Sherrill 376d435fb3 bsps/m68k/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:14:12 -05:00
Joel Sherrill 19aee5aaa8 bsps/include/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:14:12 -05:00
Joel Sherrill 75c2fb617c bsps/i386/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:14:12 -05:00
Joel Sherrill cfbc95e993 bsps/arm/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:14:12 -05:00
Joel Sherrill 51a2ee5e33 cpukit/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:14:12 -05:00
Joel Sherrill aa497f732d testsuites/*: Relicense files from Chirayu Desai to 2-BSD
These files were from Chirayu Desai <chirayudesai1@gmail.com>.
Also updated the email address.

Updates #3053.
2025-08-22 09:18:09 -05:00
Martin Erik Werner cf388ecb03 cpukit: Reword chain get wait routine->directive
Based on discord comment from Sebastian Huber suggesting that directive
would be appropriate terminology for referring to an "RTEMS API
function".
2025-08-21 13:06:07 -05:00
Martin Erik Werner cec22d9b66 cpukit: Correct rtems_chain_get_with_wait() doc.
The Doxygen documentation for rtems_chain_get_with_wait() appears to be
incorrect based on a copy-paste from rtems_chain_get_with_notification().

Correct the documentation to describe the get and wait mechanism.
2025-08-21 13:06:07 -05:00
Kinsey Moore 3e160df4aa spec/cpukit/optwarn: Add -Werror to the standard build flags
Now that RTEMS should be entirely warning free thanks largely to the
efforts of Joel, adding this flag should keep the codebase in a good
state for future compiler updates.

Closes #5317
2025-08-21 13:04:09 -05:00
Ranulfo Raphael baa281a40f bsps/xilinx-zynq/spi: Fix trace header function name
This fixes the zqspi_transfer_trace() to call the correct trace header
function.
2025-08-21 17:40:53 +00:00