Commit Graph

35109 Commits

Author SHA1 Message Date
Joel Sherrill
52a67757ef testsuites/libtests/[m-z]*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:39 -05:00
Joel Sherrill
33078a2bfb testsuites/libtests/[a-l]*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:39 -05:00
Joel Sherrill
e0d673639b testsuites/support/*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:39 -05:00
Joel Sherrill
194d9ca5d2 testsuites/tmtests/*/*.py: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:39 -05:00
Joel Sherrill
04b6c51e01 testsuites/tmtests/ remainder: Change license to BSD-2
+ include
    + tmck
    + tmfine01
    + tmonetoone
    + tmtimer01

Updates #3053.
2022-04-12 13:35:39 -05:00
Joel Sherrill
2c1d928fdc testsuites/tmtests/tm[23]*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:39 -05:00
Joel Sherrill
ef9df16afa testsuites/rmtests/tm[01]*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
e19e650f31 testsuites/benchmarks/*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
2c292f3ff9 testsuites/ada/mptests/*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
b6656a0078 testsuites/ada/tmtests/tmck: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
2bf4acfc50 testsuites/ada/tmtests/tm2*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
61ac3ab09c testsuites/ada/tmtests/tm0*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
37426caa67 testsuites/ada/tmtests/tm1*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
20cec598c6 testsuites/ada/sptests/spatcb01, spname01: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
a767a2bacb testsuites/ada/sptests/sp2*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
3d8f2a55a5 testsuites/ada/sptests/sp1*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
2df35d7e4d testsuites/ada/sptests/sp0*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
28052b744b testsuites/ada/samples/*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
8d5eb7eba5 testsuites/ada/support/*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Sebastian Huber
873e7dab34 validation: Avoid double fatal error
In the SMP_FATAL_MULTITASKING_START_ON_NOT_ONLINE_PROCESSOR test case,
the boot processor ends up in the idle body.  Do not issue a fatal error
here and instead enter the idle loop.  The secondary processor will
terminate the system.
2022-04-12 08:37:54 +02:00
Sebastian Huber
ba36e4a236 validation: Allow custom idle task body 2022-04-12 08:37:54 +02:00
Joel Sherrill
6f40354dba Remove duplicate SPDX lines accidentally added 2022-04-08 08:41:50 -05:00
Ryan Long
5efcd021ef x86_64/elf_machdep.h: Replace stub with NetBSD version
The other ports included that architecture's version of this file from
NetBSD. This patch follows that pattern.

closes #4641
2022-04-08 08:36:24 -05:00
Joel Sherrill
74e532f1f6 testsuites/smptests/*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
e2ffe959c5 testsuites/fstests/*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
acceb478ec testsuites/libtests/[p-z]*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
1ef07d4620 testsuites/libtests/[d-o]*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
366711fcfa testsuites/libtests/dl*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
85cc173d6e testsuites/libtests/[a-c]*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
b331f409a8 testsuites/tmtests/*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
42d4ebe1a5 testsuites/mptests/*: Change license to BSD-2.
Updates #3053.
2022-04-07 08:38:56 -05:00
Christian Mauderer
43119193ef imfs: Fix index underrun when extending empty file
Currently the following sequence causes a endless loop when extending an
IMFS file:

- Create a file with zero length and close it.
- Make sure nearly no allocatable memory is left.
- Open the file and write enough data into it that more than the
  remaining memory will be used.

In that case when extending the IMFS file, the file currently need zero
blocks. If allocating enough new blocks fails, the already allocated new
blocks will be freed again.

The comparison of block>=old_blocks that has been used prior to this
patch compared two unsigned numbers. If old_blocks was zero, the
comparison of these two numbers always evaluated to true.

This patch frees the last block in a separate step to avoid this
problem.

Fixes #4639
2022-04-07 10:37:23 +02:00
Karel Gardas
409b566571 bsp/stm32h7: update FMC configuration for SRAM and SDRAM usage
The patch merges differences in FMC configuration between system_stm32h7xx.c
file generated by STM32CubeIDE for 743i-eval2 board and the current RTEMS
ext-mem-ctl.c file.

Sponsored-By: Precidata
2022-04-07 08:04:19 +02:00
Sebastian Huber
23426257c6 shell: Add rtems_shell_run_main_loop()
In contrast to rtems_shell_main_loop(), this new function does not
perform all sorts of initialization based on environment settings.  For
example, due to the use of isatty() in rtems_shell_main_loop() it is
impossible to run an interactive shell through a socket connection.
2022-04-06 16:26:52 +02:00
Sebastian Huber
a800e4de12 shell: Move rtems_shell_init_environment() call
Move rtems_shell_init_environment() call to rtems_shell_set_shell_env()
since this function uses the POSIX key.
2022-04-06 16:26:52 +02:00
Sebastian Huber
3407a3b1bc shell: Add and use SHELL_MAGIC 2022-04-06 16:26:52 +02:00
Sebastian Huber
e765cfb450 shell: Simplify rtems_shell_dup_current_env()
Do not assign members already provided by the global environment.
2022-04-06 16:26:52 +02:00
Sebastian Huber
1a8ad7e68f shell: Refactor rtems_shell_main_loop()
Disentangle the shell main loop from setup and teardown code.  Move main
loop into shell_main_loop().
2022-04-06 16:26:52 +02:00
Sebastian Huber
9320c7ecaa shell: Move line editor output check
Move call to isatty() to caller of rtems_shell_line_editor().  This
avoids a dependency on isatty() in rtems_shell_line_editor().
2022-04-06 16:26:52 +02:00
Sebastian Huber
7beb4fa3b8 build: Remove obsolete test excludes 2022-04-06 16:26:52 +02:00
Sebastian Huber
0725b200e7 bsps: Add gicv3_get_attributes() 2022-04-06 09:48:52 +02:00
Sebastian Huber
d8b23fa488 bsps: Add gicv3_sgi_ppi_get_priority() 2022-04-06 09:48:52 +02:00
Sebastian Huber
f828ddd1a9 bsps: Add gicv3_sgi_ppi_set_priority() 2022-04-06 09:48:52 +02:00
Sebastian Huber
3026859d41 bsps: Move gicv3_init_cpu_interface()
Make the processor index a parameter.
2022-04-06 09:48:52 +02:00
Sebastian Huber
b3519336fd bsps: Move gicv3_init_dist()
Make the distributor register block a parameter.
2022-04-06 09:48:52 +02:00
Sebastian Huber
ea353b4bfa bsps: Add gicv3_sgi_ppi_disable() 2022-04-06 09:48:52 +02:00
Sebastian Huber
f74b120c24 bsps: Add gicv3_sgi_ppi_enable() 2022-04-06 09:48:52 +02:00
Sebastian Huber
42c806fc84 bsps: Add gicv3_sgi_ppi_is_enabled() 2022-04-06 09:48:52 +02:00
Sebastian Huber
be25de5ff8 bsps: Add gicv3_ppi_clear_pending() 2022-04-06 09:48:52 +02:00
Sebastian Huber
2e5b1312c8 bsps: Add gicv3_ppi_set_pending() 2022-04-06 09:48:52 +02:00