Commit Graph
1643 Commits
Author SHA1 Message Date
Abdullah Wasiq 7b4e86f158 cpukit/score: Remove unneeded LM32 placeholder comments
Remove LM32 placeholders
2026-03-06 11:01:47 -06:00
Chandan U b63c42158d cpukit: clear wait node chain state after priority extract
_Priority_Plain_extract() sets the extracted priority node to
off-chain before it is reused by thread queue flush.

Updates #5491
2026-03-06 10:57:56 -06:00
Chandan U 0a5cf46ac3 cpukit: Fix assertion failure in semaphore delete
Clear semaphore flags in Debug mode before freeing object.
This ensures Object.Node.previous is NULL to satisfy _Chain_Is_node_off_chain.

Updates #5491
2026-03-06 10:57:56 -06:00
Chandan U 8112383356 cpukit: fix off-chain state checks and pointer clearing
Semaphore wait nodes store flags in the left part of previous.
So _Chain_Is_node_off_chain() is not safe in all semaphore paths.
Use node->next == NULL where needed for semaphore wait nodes.

Updates #5491
2026-03-06 10:57:56 -06:00
Shivam Deolankar 110dcaf3df cpukit/error: Make RTEMS_ERROR_* shifts 16-bit host clean
Cast the literal 1 to rtems_error_code_t before shifting to avoid
undefined behavior on systems with a 16-bit int.

Include <limits.h> for CHAR_BIT.
Signed-off-by: Shivam Deolankar <shivam.deolankar@gmail.com>
2026-03-06 04:07:22 +00:00
Matteo Concas a41583c375 cpukit/drvmgr: Don't include implementation header files
Not how RTEMS is designed, can cause problems further down.

Closes #5501
2026-03-05 11:32:08 +01:00
82a4e3dfc2 cpukit: Support dates later than 2100
These changes eliminate the year 2100 as a limit for TOD. The new
limit is the year 4096. This limit is not due to any RTEMS limitation
but just before the year 4183 when the rounding error in the length
of the year adds up to an entire day. See
https://de.wikipedia.org/wiki/Schaltjahr for details.

There are still limits on Classic APIs which use the 32-bit rtems_interval
type. This corresponds to the Score Watchdog_Interval type. This impacts
delays, timeouts, and Classic API "after" timers.

Closes #5143

Co-authored-by: Joel Sherrill <joel@rtems.org>
Co-authored-by: Gedare Bloom <gedare@rtems.org>
2026-03-02 10:04:32 -06: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 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
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
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 b8fad099e8 cpukit/libfs/pipe: reformat
Fixes #5448.
2026-02-05 09:53:09 -06:00
Gedare Bloom a94cbc8610 cpukit/libmisc: reformat fsmount
Fixes #5467.
2026-02-05 09:47:48 -06:00
Gedare Bloom 0ea438b7c0 cpukit/libmisc: reformat monitor
Fixes #5468.
2026-02-05 09:37:20 -06:00
Gedare Bloom 47f5882905 cpukit/libmisc: reformat rtems-fdt
Fixes #5470.
2026-02-05 09:36:09 -06:00
Gedare Bloom 895330fcf5 cpukit/libmisc: reformat capture
Fixes #5461.
2026-02-05 09:32:36 -06:00
Gedare Bloom 1e5f1bcabe cpukit/libi2c: reformat
Fixes #5451.
2026-02-05 09:31:49 -06:00
Gedare Bloom 938915c1ad cpukit/libblock: reformat style
Fixes #5445.
2026-02-05 09:29:52 -06:00
Gedare Bloom 3b08664764 cpukit/ftpd: reformat
Closes #5444.
2026-02-05 09:28:55 -06:00
Gedare Bloom 4f6f09f652 cpukit/libtest: reformat
Fixes #5454.
2026-02-05 09:27:08 -06:00
Gedare Bloom dcc57b9488 cpukit/crc: reformat
Closes #5442.
2026-02-05 09:22:58 -06:00
Gedare Bloom f058d040e0 cpukit/libbtrace: reformat
Fixes #5455.
2026-02-05 09:19:01 -06:00
Gedare Bloom 2948d1ed8f cpukit/base64: reformat style
Closes #5441
2026-02-05 09:17:43 -06:00
Gedare Bloom 983caf9a27 cpukit/mghttpd: Remove Monghoose header file
Looks like this was missed in a1c30b7f71

Updates #5304.
2026-02-05 09:16:59 -06:00
Gedare Bloom 0603a5789e cpukit/libdl: reformat to LLVM style
Fixes #5344.
2026-02-05 08:50:43 -06:00
Gedare Bloom cacf47b45b cpukit/include/rtems: update licenses and SPDX to 2BSD
Updates #3053.
2026-02-04 17:41:07 -06:00
Gedare Bloom 6418ac5e10 cpukit/include/rtems: move fatfs.h to cpukit/contrib
updates #5456
2026-02-04 17:39:57 -06:00
Gedare Bloom 534d5134dd cpukit/libmisc: reformat bspcmdline
Fixes #5460.
2026-02-04 17:22:14 -06:00
Gedare Bloom 6b44911f4f cpukit/libmisc: reformat regulator
Fixes #5459.
2026-02-04 17:21:10 -06:00
Gedare Bloom ef2bbe4eba cpukit/libmisc: reformat devnull
Fixes #5463.
2026-02-04 17:19:10 -06:00
Gedare Bloom a16a019c2d cpukit/libmisc: reformat dumpbuf
Fixes #5464.
2026-02-04 17:17:35 -06:00
Gedare Bloom 05e80dff97 cpukit/libmisc: reformat redirector
Fixes #5469.
2026-02-04 17:15:56 -06:00
Gedare Bloom c60f56c925 cpukit/libmisc: reformat fb
Fixes #5466.
2026-02-04 17:14:06 -06:00
Gedare Bloom 900f84197b cpukit/libmisc: reformat stackchk
Fixes #5471.
2026-02-04 17:10:19 -06:00