Commit Graph
37294 Commits
Author SHA1 Message Date
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
Joel Sherrill d172ecaff9 spec/.../mcf5235: Missing GCC atomic helper
Provide missing GCC atomics helpers as part of BSPs where GCC
does not know how to provide it since the CPU's ISA has no
atomic instructions. The implementation provided in
bsps/shared/atomics/__atomic_test_and_set.c should work
on any single core CPU.
2025-08-21 17:40:01 +00:00
Sebastian Huber 6477324b4c rtems: Fix Doxygen comments
Use matching parameter names.
2025-08-21 17:16:10 +00:00
Joel Sherrill dce430bb69 spec/*: Clean up fast idle configure option
The CLOCK_DRIVER_USE_FAST_IDLE configure option is implemented
in the shared clock driver implementation. Unfortunately, the spec
files scattered the yaml to enable it for a specific BSP. This
change adds the shared file spec/build/bsps/optclkfastidle.yml which
is now the only place the CLOCK_DRIVER_USE_FAST_IDLE is specified.
That file includes a master list of BSPs which are known to be able to
run on simulators that are slow enough to benefit from this option.

As a point of information, the entire riscv BSP family can run on
both spike and qemu. None had the option do use fast idle. With this
option enabled, the time taken for a full test run on spike for
rv32i and rv64imadfc dropped by ~45%.
2025-08-20 13:02:19 -05:00
Shaunak Datar fb08c8cb8d bsp/aarch64/raspberrypi: Add support for DMA
Adds the support for DMA on the Raspberry Pi 4b
2025-08-20 12:40:01 +05:30
Sebastian Huber 8baae3ee09 bsps/arm: Fix discarded qualifiers warning
Move volatile qualifier to the register block structure.

Close #5320.
2025-08-18 03:03:16 +02:00
Sebastian Huber 8fd021bbb3 m68k: Do not assign to a linker symbol
The _VBR is a symbol defined by linker scripts.  You cannot change this
value at runtime.  The BSP initialization has to ensure that
m68k_set_vbr() is only set to _VBR.

Close #5210.
2025-08-14 07:02:01 +02:00
Shaunak Datar c8e5f206b4 bsp/aarch64/raspberrypi: Add C++ header guards
Adds header guards to the installed headers in raspberrypi/include/bsp
2025-08-13 12:04:14 -05:00
Sunil Hegde fee83ad4fb bsps/no_cpu/no_bsp/clock/ckinit.c: Fixed formatting
Fixed formatting as suggested by the format diff, no
functional changes were made.
2025-08-13 15:28:45 +00:00
Sunil Hegde 6f51e669ad bsps/no_cpu: removed set_vector uses and prototype in the bsp template
removed set_vector uses and protoptypes from the bsp template.
Replaced it with rtems_interrupt_entry_install()

Updates #5215
2025-08-13 15:28:45 +00:00
Sebastian Huber 00bef3226d bsps/irq: Fix array bounds warning
Use a one element array to prevent array subscript index is outside
array bounds warnings.

Close #5298.
2025-08-13 01:53:05 +02:00
Lucian Silistru 45b1495a8a record: Avoid dependency on object link order
For the application configuration option
CONFIGURE_RECORD_INTERRUPTS_ENABLED, define
bsp_interrupt_get_dispatch_table_slot() in the application configuration
to avoid issues with the object link order within the RTEMS libraries.

Enable this option in an associated test.

Close #5244.
2025-08-12 13:18:30 -05:00
Joel Sherrill b68e31a200 psxsignal0[78]: Re-add copyright and end of comment block
These four files had a copyright block with no license text.
The script to move the SPDX line to the top of the file ended
up deleting a line which was the end of the comment block.
2025-08-12 12:34:59 -05:00
Sebastian Huber 16faa870a5 bsps/powerpc: Fix assembler warnings
Avoid arithmetic involving v0..v31 register names.
2025-08-12 16:51:45 +02:00
Sebastian Huber e74e5e1644 bsps/powerpc: Fix assembler warnings
Use numeric value of cr0 to fix the following warnings:

ppc_exc_asm_macros.h: Assembler messages:
ppc_exc_asm_macros.h:242: Warning: invalid register expression
ppc_exc_asm_macros.h:730:  Info: macro invoked from here
ppc_exc.S:134:   Info: macro invoked from here
ppc_exc_asm_macros.h:242: Warning: invalid register expression
ppc_exc_asm_macros.h:730:  Info: macro invoked from here
ppc_exc.S:137:   Info: macro invoked from here
2025-08-12 16:51:34 +02:00
yang.zhang a9e131706c bsp/zynqmp_qemu: dl06 fails expectedly 2025-08-11 19:07:34 +00:00
Joel Sherrill 24314434a8 testsuites/*: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill 91e475687e psxhdrs: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill fdba64f306 bsps/aarch64: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill be6e30dff3 bsps/arm: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill b162f65fb1 bsps/include: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill a265d69094 bsps/riscv: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill 4549be01e3 bsps/shared: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill 3a51fd9e6f bsps/sparc: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill 548cb8e07c bsps/x86_64: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill 3470ea15f1 cpukit/include: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill c87131e192 cpukit/libcsupport: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill f33e7c9a0c cpukit/libdl: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill 1d23476eb1 cpukit/libfs: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill ea86780bdf cpukit/libmisc: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill be89bf6be0 cpukit/libtrace: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill 9d81cacf25 cpukit/sapi: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill 7df3c45159 cpukit/posix: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill 26aa9106af cpukit/rtems: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill e2d61770d9 cpukit/score: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Sebastian Huber eeaef74d07 bsps/arm/*: Relicense to 2-BSD
All files were written by Sebastian Huber who has previously given
permission to relicense.

Update #3053.
Close #5318.
2025-08-11 03:53:04 +02:00
Kinsey Moore 046ea144a9 cpukit/aarch64: Use correct stack for nested interrupts
When AArch64 exception support was first written, nested exceptions were
configured using the wrong stack. This happened to work since any
changes were unwound from the stack before dispatch occurred. This
implements correct behavior for all SP0 interrupt vectors.

Closes #5140
2025-08-06 10:41:10 -05:00
Kinsey Moore f664b84280 cpukit/aarch64: Use correct exception targets
The sp0 IRQ and lel32 SError exception targets were left in a bad state
following the exception rework to avoid use of mutable code pages. The
lel32 SError exception is entirely unused by RTEMS. This points the two
erroneous exception vectors at the correct targets.
2025-08-06 10:41:10 -05:00
Joel Sherrill 4c9e41b060 cpukit/sapi/src/exinit.c: Address warning on all ARM builds
The block of embedded assembly language which creates a section
to add auto-loading of the Python pretty printing scripts was
getting this warning on all ARM BSPs.

/tmp/ccMGaqij.s: Assembler messages:
/tmp/ccMGaqij.s:19: missing merge / string entity size, 1 assumed

This was because the @ symbol is a comment on ARM. Changing to
a % as suggested on the binutils mailing list resolved the problem.
2025-08-06 15:33:15 +00:00