Commit Graph

34963 Commits

Author SHA1 Message Date
Sebastian Huber
a4b771844a validation: Test mutex operations
The test source code is generated from specification items
by the "./spec2modules.py" script contained in the
git://git.rtems.org/rtems-central.git Git repository.

Please read the "How-To" section in the "Software Requirements Engineering"
chapter of the RTEMS Software Engineering manual to get more information about
the process.

Update #3716.
2022-03-24 11:10:48 +01:00
Sebastian Huber
a6b4a3b07c validation: Test semaphore operations
The test source code is generated from specification items
by the "./spec2modules.py" script contained in the
git://git.rtems.org/rtems-central.git Git repository.

Please read the "How-To" section in the "Software Requirements Engineering"
chapter of the RTEMS Software Engineering manual to get more information about
the process.

Update #3716.
2022-03-24 11:10:48 +01:00
Sebastian Huber
7db4c14b9e validation: Test thread queues
The test source code is generated from specification items
by the "./spec2modules.py" script contained in the
git://git.rtems.org/rtems-central.git Git repository.

Please read the "How-To" section in the "Software Requirements Engineering"
chapter of the RTEMS Software Engineering manual to get more information about
the process.

Update #3716.
2022-03-24 11:10:48 +01:00
Sebastian Huber
c39133b882 validation: Add system termination test suites
The test source code is generated from specification items
by the "./spec2modules.py" script contained in the
git://git.rtems.org/rtems-central.git Git repository.

Please read the "How-To" section in the "Software Requirements Engineering"
chapter of the RTEMS Software Engineering manual to get more information about
the process.

Update #3716.
2022-03-24 11:10:48 +01:00
Sebastian Huber
212b0ca440 validation: Add test suites
The test source code is generated from specification items
by the "./spec2modules.py" script contained in the
git://git.rtems.org/rtems-central.git Git repository.

Please read the "How-To" section in the "Software Requirements Engineering"
chapter of the RTEMS Software Engineering manual to get more information about
the process.

Update #3716.
2022-03-24 11:10:48 +01:00
Sebastian Huber
40cc4f5009 validation: Improve support library
Update #3716.
2022-03-24 11:10:48 +01:00
Sebastian Huber
6aa0552403 libtest: Increase line length
Update #3716.
2022-03-24 11:10:48 +01:00
Sebastian Huber
cc1c944042 libtest: Add scheduler test support
Add support to record scheduler operations.  This support is especially
important for tests in SMP configurations since the thread switch extension is
quite difficult to use due to the asynchronous nature of thread dispatching.
In contrast, the scheduler operations occur normally in a deterministic order.

Update #3716.
2022-03-24 11:10:48 +01:00
Sebastian Huber
d0de6fdfa8 score: Add _IO_Relax()
This function may be used to burn a couple of processor cycles with
minimum impact on the system bus.  It may be used in busy wait loops.
Since it is a global function, it is possible to wrap it in device
driver test code.
2022-03-24 11:10:48 +01:00
Sebastian Huber
3345415211 newlib01: Adjust variable name 2022-03-24 11:10:48 +01:00
Matt Joyce
c82eb0b0fb newlib01: Check exit processing for file objects 2022-03-24 11:06:22 +01:00
Sebastian Huber
5b1b2aa67a build: Exclude rcxx01 test for sh BSPs
There seems to be a code size increase with GCC 12.
2022-03-23 17:17:56 +01:00
Joel Sherrill
fab1a86221 cpukit/libmisc/untar: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
ed4200e770 cpukit/libmisc/check: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
50ec42c353 cpukit/libmisc/serdbg: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
c02836c485 cpukit/libmisc/rtems-fdt: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
aa4c01027a cpukit/libmisc/redirector: Manually change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
903bba259f cpukit/libmisc/mouse: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
8227a27943 cpukit/libmisc/fsmount/fsmount.c: Manual header clean up 2022-03-22 11:34:23 -05:00
Joel Sherrill
ccf8287197 cpukit/libmisc/fsmount: Change license to BSD-2.
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
3674288ad2 cpukit/libmisc/dumpbuf: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
9723662214 cpukit/libmisc/dummy: Change license to BSD-2.
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
183209b5e7 cpukit/libmisc/devnull/devzero.c: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
f1470914fb cpukit/libmisc/cpuuse: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
4b7fbc7c44 cpukit/libmisc/capture: Manually change license to BSD-2
These files did not follow the standard format and needed to be
changed manually.

Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
1dc5ba2a45 cpukit/capture: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
152ab750ca cpukit/libmisc/bspcmdline: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
1db3d3c3ee cpukit/libtest: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
1b33b9d0e5 cpukit/libpci: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
f083c84fe5 cpukit/libgnat: Change license to BSD-2.
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
2830ee959b cpukit/libfs/src/rfs: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
4ad52d62fe cpukit/libds/src/ftpfs/tftpDriver.c: Manually update license to BSD-2
Eric Norum granted permission plus git log archeology to get year for
his copyright.

Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
67a5936f58 cpukit/libfs/src/imfs: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
5dec08934f cpukit/libdl: Manual file header reordering (SPDX, Doxygen, Copyright)
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
60060e695a cpukit/libfs/src/defaults: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
72d83c61d4 cpukit/libdrvmsg: Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
5a65257d0c cpukit/libdl Change license to BSD-2
Updates #3053.
2022-03-22 11:34:23 -05:00
Joel Sherrill
a50839ffd8 cpukit/libdl/rtl-alloc-check.py: Change to BSD-2 by hand
Updates #3053.
2022-03-22 11:34:23 -05:00
Sebastian Huber
7fe3c62329 thread.hpp: Fix redefinition of default argument
A default argument shall be defined only once.

Close #4632.
2022-03-18 16:13:04 +01:00
Sebastian Huber
1a5991e4e7 build: Apply command line options to all variants
Update #4548.
2022-03-18 14:57:43 +01:00
Sebastian Huber
b837c83869 shell: Avoid potential stack corruption
The rtems_shell_init() passed the address of a stack variable
(exit_code) to rtems_shell_run().  If wait == false, then the stack
variable goes out of scope but may be accessed by the created shell
thread.

The rtems_shell_script() was affected by the same problem.

Close #4629.
2022-03-16 07:35:27 +01:00
Sebastian Huber
f311caf984 bsps/irq: Improve affinity set handling
Restrict the affinity set to the set of online processors.  Make sure
the affinity set for an interrupt vector contains at least one online
processor.

Update #3269.
2022-03-16 07:29:27 +01:00
Sebastian Huber
ca4fa22e51 bsps/irq: Fix formatting
Update #3269.
2022-03-16 07:29:27 +01:00
Alex White
14381c432a microblaze: Add JFFS2 AXI QSPI driver
This driver has been tested with Micron NOR Flash via AXI Quad SPI.
2022-03-15 10:46:19 -05:00
Sebastian Huber
e7a2470d06 bsps/arm: Fix bsp_start_memcpy() for ARMv7-AR
Synchronize data and instruction streams.
2022-03-14 09:23:54 +01:00
Kinsey Moore
3e3393ac1e cpukit/aarch64: Add Per_CPU_Control accessor
Add an architecture-specific implementation for
_CPU_Get_current_per_CPU_control() to reduce overhead for getting the
current CPU's Per_CPU_Control structure.
2022-03-12 11:55:11 -06:00
Sebastian Huber
74d3abc1db arm: Fix PMSA section to region mapping
Fix move of regions.  Allow sections to be contained in a region (may
happen due to region alignment).
2022-03-11 09:24:57 +01:00
Sebastian Huber
ca74566f7e arm: Add _AArch32_PMSA_Map_sections_to_regions()
This simplifies unit testing.
2022-03-11 09:24:57 +01:00
Sebastian Huber
1a23ee6176 bsp/fvp: Use only vector table of start section 2022-03-11 09:24:54 +01:00
Christian Mauderer
817ee56327 bsps/.../disp_hcms29xx.h: Fix comment block
Update #4625
2022-03-10 14:43:10 +01:00