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
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
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
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
Christian Mauderer
bb2e149e0b
cpukit: Automated IMD header file clean up
...
Use the same form of IMD in all copyright lines
Update #4625 .
2022-03-10 09:15:19 +01:00
Christian Mauderer
d7955b245e
bsps and cpukit: Manual file header clean up
...
Updates #4625 .
2022-03-10 09:15:19 +01:00
Joel Sherrill
255fe433fd
cpukit/: Scripted embedded brains header file clean up
...
Updates #4625 .
2022-03-10 08:43:49 +01:00
Joel Sherrill
d836922525
libmisc/serdbg: Manual header clean up
...
Updates #4625 .
2022-03-10 08:43:49 +01:00
Joel Sherrill
78af9249f3
telnetd.c: Manual cleanup of embedded brains File Headers
...
This file's text looked different from others. Fixed by hand.
Updates #4625 .
2022-03-10 08:43:49 +01:00
Sebastian Huber
32f0f11a68
SMP: Fix start multitasking for some targets
...
The previous SMP multitasking start assumed that the initial heir thread of a
processor starts execution in _Thread_Handler(). The _Thread_Handler() sets
the interrupt state explicitly by _ISR_Set_level() before it calls the thread
entry. Under certain timing conditions, processors may perform an initial
context switch to a thread which already executes its thread body (see
smptests/smpstart01). In this case, interrupts are disabled after the context
switch on targets which do not save/restore the interrupt state during a
context switch (aarch64, arm, and riscv).
Close #4627 .
2022-03-09 21:11:10 +01:00
Sebastian Huber
5fcc2caa10
score: Disable thread dispatching earlier
...
Disable thread dispatching earlier on secondary processors. This ensures that
fatal error and per-CPU job handlers are called with thread dispatching
disabled. On the boot processor, the thread dispatching is already disabled by
_Thread_Dispatch_initialization().
2022-03-08 19:29:09 +01:00
Sebastian Huber
709dfd4907
mpci: Fix RTEMS_DEBUG support
2022-03-08 08:12:47 +01:00
Joel Sherrill
f381e9bab2
cpukit/libblock: Change license to BSD-2
...
Updates #3053 .
2022-02-28 10:28:05 -06:00
Joel Sherrill
2dcc54f9c6
cpukit/ftpd: Change license to BSD-2
...
Not all files could be changed.
Updates #3053 .
2022-02-28 10:28:05 -06:00
Joel Sherrill
2fb29836b0
cpukit/include/adainclude: Change license to BSD-2
...
Updates #3053 .
2022-02-28 10:28:05 -06:00
Joel Sherrill
c0ec0b29e9
score/cpu/v850: Change license to BSD-2
...
Updates #3053 .
2022-02-28 10:28:05 -06:00
Joel Sherrill
ef32245bee
score/cpu/sparc64: Change license to BSD-2
2022-02-28 10:28:05 -06:00
Joel Sherrill
e111974ab8
score/cpu/sparc: Change license to BSD-2
...
Updates #3053 .
2022-02-28 10:28:05 -06:00
Joel Sherrill
87076c94d2
score/cpu/powerpc: Change license to BSD-2
...
Updates #3053 .
2022-02-28 10:28:05 -06:00