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
Sebastian Huber
518330069d
bsps: Add gicv3_trigger_sgi()
2022-04-06 09:48:52 +02:00
Sebastian Huber
f10c551f54
bsps: Add gicv3_sgi_ppi_is_pending()
2022-04-06 09:48:52 +02:00
Sebastian Huber
9abcaaebc3
bsps: Add <dev/irq/arm-gicv3.h>
...
Separate the Interrupt Manager implementation from the generic Arm GICv3
support. Move parts of the Arm GICv3 support into a new header file. This
helps to support systems with a clustered structure in which multiple GICv3
instances are present. For example, two clusters of two Cortex-R52 cores where
each cluster has a dedicated GICv3 instance.
2022-04-06 09:48:51 +02:00
Sebastian Huber
c1a6e6275b
unit: Test red-black trees
2022-04-06 09:38:09 +02:00
Sebastian Huber
7ca6eeee79
unit: Add test for misaligned builtin memcpy()
2022-04-06 09:38:09 +02:00
Sebastian Huber
95e3ade435
unit: Add a unit test suite
2022-04-06 09:38:09 +02:00
Sebastian Huber
39439d4c85
bsp/stm32h7: Disable some tests for a variant
...
Making this BSP a small memory target is a bit coarse and could be improved.
2022-04-06 09:38:09 +02:00
Karel Gardas
282fba3c88
bsps/stm32h7: link to flash on STM32H7B3I-DK
...
The patch is needed due to smaller SRAM and completely disabled
SDRAM on the BSP variant.
2022-04-06 08:18:23 +02:00
Chris Johns
500e69639e
libmisc/untar: Use a larger block size to read and write files
...
- A larger block size lets files systems work better. On JFFS
a 512 byte compressed block means lots of small flash updates
Closes #4635
2022-04-06 08:02:30 +10:00
Joel Sherrill
4160547a24
sp0*/*.doc: Remove junk UTF-8 character
2022-04-05 13:14:14 -05:00
Joel Sherrill
3ed59872de
testsuites/sptests/sp[i-z]*/*.doc: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
df6a7e0a1d
testsuites/sptests/sp[a-h]*/*.doc: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
ce8d47be72
testsuites/sptests/sp[0-7]*/*.doc: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
d865c65efe
testsuites/sptests/sp[s-z]*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
0473b2b36a
testsuites/sptests/sp[g-r]*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
e7d46b738c
testsuites/sptests/sp[a-f*]*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
c50bb51b19
testsuites/sptests/sp[4-7]*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
d987a57be4
testsuites/sptests/sp[2-3]*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
eb579662e4
testsuites/sptests/sp1*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00
Joel Sherrill
725101151c
testsuites/sptests/sp0*: Change license to BSD-2
...
Updates #3053 .
2022-04-05 13:14:14 -05:00