summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove duplicate SPDX lines accidentally addedJoel Sherrill2022-04-084-8/+0
|
* x86_64/elf_machdep.h: Replace stub with NetBSD versionRyan Long2022-04-081-4/+76
| | | | | | | The other ports included that architecture's version of this file from NetBSD. This patch follows that pattern. closes #4641
* imfs: Fix index underrun when extending empty fileChristian Mauderer2022-04-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | 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
* shell: Add rtems_shell_run_main_loop()Sebastian Huber2022-04-062-0/+50
| | | | | | | 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.
* shell: Move rtems_shell_init_environment() callSebastian Huber2022-04-061-2/+2
| | | | | Move rtems_shell_init_environment() call to rtems_shell_set_shell_env() since this function uses the POSIX key.
* shell: Add and use SHELL_MAGICSebastian Huber2022-04-061-3/+5
|
* shell: Simplify rtems_shell_dup_current_env()Sebastian Huber2022-04-061-10/+7
| | | | Do not assign members already provided by the global environment.
* shell: Refactor rtems_shell_main_loop()Sebastian Huber2022-04-061-134/+150
| | | | | Disentangle the shell main loop from setup and teardown code. Move main loop into shell_main_loop().
* shell: Move line editor output checkSebastian Huber2022-04-061-44/+38
| | | | | Move call to isatty() to caller of rtems_shell_line_editor(). This avoids a dependency on isatty() in rtems_shell_line_editor().
* libmisc/untar: Use a larger block size to read and write filesChris Johns2022-04-061-20/+33
| | | | | | | - A larger block size lets files systems work better. On JFFS a 512 byte compressed block means lots of small flash updates Closes #4635
* Update email address of Fernando Ruiz Casas to <fruizcasas@gmail.com>Joel Sherrill2022-04-0543-202/+260
| | | | This was requested to be executed prior to relicensing to BSD-2.
* cpukit/libmisc/dumpbuf/dumpbuf.c: Manually change license to BSD-2Joel Sherrill2022-04-021-3/+20
| | | | | | | There was a typo in the license text and this file was missed by the script. Updates #3053
* cpukit/include; Remove SPDX from Gaisler files NOT changed to BSD-2Joel Sherrill2022-04-0212-24/+0
|
* cpukit/libcsupport/src/_*: Change license to BSD-2Joel Sherrill2022-04-018-24/+176
| | | | Updates #3053.
* cpukit/libcsupport/src/[g-r]*: Change license to BSD-2Joel Sherrill2022-04-0151-157/+1132
| | | | Updates #3053.
* cpukit/libcsupport/src/[s-z]*: Change license to BSD-2Joel Sherrill2022-04-0140-127/+893
| | | | Updates #3053.
* cpukit/libcsupport/src/[a-f]*: Change license to BSD-2Joel Sherrill2022-04-0138-117/+841
| | | | Updates #3053.
* cpukit/include/rtems/timespec.h: Change license to BSD-2Joel Sherrill2022-04-011-3/+22
| | | | | | Permission received from Krzysztof Miesowicz. Updates #3053.
* cpukit/include/rtems/cbs.h: Change license to BSD-2Joel Sherrill2022-04-011-3/+22
| | | | | | Permission received from Petr Benes Updates #3053.
* cpukit/score/cpu/moxie: Change license to BSD-2Joel Sherrill2022-04-018-24/+176
| | | | | | Permission received from Anthony Green. Updates #3053.
* libcsupport: Use _fwalk_reent()Sebastian Huber2022-04-011-19/+10
| | | | | Use _fwalk_reent() instead of _fwalk(), since _fwalk() was removed from Newlib. Include <sys/reent.h> and remove local declarations.
* rtems: Clarify scheduler of created taskSebastian Huber2022-03-291-3/+3
|
* cpukit/include/rtems/confdefs/libpci.h: Manual file header clean upJoel Sherrill2022-03-251-8/+8
|
* cpukit/include/pci: Manual header file clean upJoel Sherrill2022-03-257-9/+61
|
* cpukit/include/drvmgr: Manual header file clean upJoel Sherrill2022-03-254-7/+35
|
* cpukit/include/pci.h: Manual header clean upJoel Sherrill2022-03-251-2/+11
|
* cpukit/include/*.h: Change license to BSD-2Joel Sherrill2022-03-252-6/+44
| | | | Updates #3053.
* cpukit/include/sys: Change license to BSD-2.Joel Sherrill2022-03-2531-97/+686
| | | | Updates #3053.
* cpukit/include/rtems: Change license to BSD-2Joel Sherrill2022-03-2573-219/+1606
| | | | Updates #3053.
* cpukit/include/linux: Change license to BSD-2Joel Sherrill2022-03-254-12/+88
| | | | Updates #3053.
* cpukit/include/dev: Change license to BSD-2Joel Sherrill2022-03-2512-36/+264
| | | | Updates #3053.
* cpukit/libmisc/monitor/: Manually change to BSD-2 licenseJoel Sherrill2022-03-2419-50/+562
| | | | | | | | | | | | | | This code did not have any copyrights or licenses and a bit of archeology was needed to determine authorship. This code was in the initial import into the RTEMS CVS repository when it was established in May 1995. There was very little, if any, code not written by OAR Corporation in that initial import. After discussion with Chris Johns, it was determined that this code was from OAR Corporation and that he had added a few features later. Both Chris Johns and OAR Corporation have given permission to relicense. Updates #3053.
* cpukit/: Update Eric Norum contact info and normalize file headersJoel Sherrill2022-03-249-51/+66
|
* smp: Add fatal errorSebastian Huber2022-03-242-1/+7
| | | | | | | Add SMP-specifc SMP_FATAL_MULTITASKING_START_ON_NOT_ONLINE_PROCESSOR fatal error. This fatal error helps to diagnose a broken SMP startup sequence. Without this error a context switch using the NULL pointer for the thread control block happens which may be difficult to debug.
* libtest: Increase line lengthSebastian Huber2022-03-241-1/+1
| | | | Update #3716.
* libtest: Add scheduler test supportSebastian Huber2022-03-242-0/+948
| | | | | | | | | 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.
* score: Add _IO_Relax()Sebastian Huber2022-03-242-0/+61
| | | | | | | 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.
* cpukit/libmisc/untar: Change license to BSD-2Joel Sherrill2022-03-223-9/+66
| | | | Updates #3053.
* cpukit/libmisc/check: Change license to BSD-2Joel Sherrill2022-03-221-3/+22
| | | | Updates #3053.
* cpukit/libmisc/serdbg: Change license to BSD-2Joel Sherrill2022-03-223-9/+66
| | | | Updates #3053.
* cpukit/libmisc/rtems-fdt: Change license to BSD-2Joel Sherrill2022-03-222-6/+44
| | | | Updates #3053.
* cpukit/libmisc/redirector: Manually change license to BSD-2Joel Sherrill2022-03-221-7/+27
| | | | Updates #3053.
* cpukit/libmisc/mouse: Change license to BSD-2Joel Sherrill2022-03-221-3/+22
| | | | Updates #3053.
* cpukit/libmisc/fsmount/fsmount.c: Manual header clean upJoel Sherrill2022-03-221-3/+1
|
* cpukit/libmisc/fsmount: Change license to BSD-2.Joel Sherrill2022-03-221-3/+22
| | | | Updates #3053.
* cpukit/libmisc/dumpbuf: Change license to BSD-2Joel Sherrill2022-03-221-0/+2
| | | | Updates #3053.
* cpukit/libmisc/dummy: Change license to BSD-2.Joel Sherrill2022-03-221-3/+22
| | | | Updates #3053.
* cpukit/libmisc/devnull/devzero.c: Change license to BSD-2Joel Sherrill2022-03-221-3/+22
| | | | Updates #3053.
* cpukit/libmisc/cpuuse: Change license to BSD-2Joel Sherrill2022-03-226-18/+132
| | | | Updates #3053.
* cpukit/libmisc/capture: Manually change license to BSD-2Joel Sherrill2022-03-227-112/+212
| | | | | | | These files did not follow the standard format and needed to be changed manually. Updates #3053.