summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-22cpukit/libmisc: Cast getpid() before shiftingKinsey Moore1-0/+5
Cast getpid() before shifting to avoid truncation of upper bits before the 64bit XOR occurs.
2024-01-22cpukit/libmisc/uuid: Check for invalid FDKinsey Moore1-0/+6
2023-12-14rtems-fdt: Fix node property access on 64bitChris Johns1-1/+1
2023-12-13libmisc/shell: Work around tmux bug in row and columnChris Johns1-25/+125
- Extend the timeout to 150 msec for long remote sessions - Improve the performance of the detection Closes #4975 Closes #4977
2023-08-15Address Regulator warning for no prototype for memset()zack1-0/+1
Closes #4942.
2023-08-11Add the Regulator Interface and testJoel Sherrill1-0/+679
Updates #4924. The Regulator is an application support class which is used to deal with the scenario where there is a bursty input source which needs to be metered out to a destination sink. The maximum size of bursts needs to be known and the delivery method must be configured to deliver messages at a rate that allows the traffic to not overflow.
2023-06-06Move various compression libraries into single subdirectoryJoel Sherrill10-2704/+0
This improves the organization of the cpukit. Closes #4912.
2023-05-20Update company nameSebastian Huber18-18/+18
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2023-05-17libmisc/shell: Fix file pointer leak and improved input data sanitation.Aaron Nyholm1-17/+10
Coverity #1530126 Coverity #1530125
2023-05-16libmisc/shell: Add flashdev commandAaron Nyholm1-0/+591
2023-03-16cpuuse: Add implementation Doxygen groupSebastian Huber5-4/+30
2023-02-15libmisc/shell/main_edit.c: User cannot cut using ctrl e and xzack1-2/+1
Closes #4557
2023-02-10shell/main_pci.c: Address Dereference after null error checkJoel Sherrill1-1/+1
Coverity CID 1399716 Closes #431.
2023-02-09libmisc/serdbg: Remove obsolete serial debugJoel Sherrill4-748/+0
Closes #2828.
2023-01-31libmisc/shell/edit: Return if no memory in move_gapChris Johns1-0/+3
Closes #4835
2023-01-31libmisc/shell/edit: Fix closing the editorChris Johns1-11/+4
Closes #4834
2023-01-24cpuuse: Use standard wording and group nameSebastian Huber4-10/+12
Use standard wording in CPU usage reporting files.
2022-12-26rtems_shell_main_chmod: Correct argument indexingzack leung1-1/+1
Closes #4751
2022-12-23rtems_shell_main_mmove problemzack leung1-1/+1
--0000000000006acec205efd38cd6 Content-Type: text/plain; charset="UTF-8" Closes #4556
2022-11-25libmisc/rtems-fdt: Support prop map items up to the size of uintptr_tChris Johns1-2/+17
Updates #4729
2022-11-25libmisc/shell: Fix edit Coverity errorChris Johns1-1/+1
Coverity Id: CID 1517029, CID 1517030, CID 1517031
2022-11-23libmisc/shell: Support terminal size as env variablesChris Johns3-39/+155
Closes #4763
2022-11-18cpukit/rtems-fdt: Avoid use of malloc/errnoKinsey Moore1-7/+6
Use of malloc implies errno which adds TLS dependencies and prevents use of this FDT wrapper library in BSP initialization code. This change makes use of rtems_malloc and rtems_calloc which avoid TLS dependencies.
2022-11-14cpukit: Change license to BSD-2 for files with Gaisler copyrightDaniel Cederman2-6/+44
This patch changes the license to BSD-2 for all source files where the copyright is held by Aeroflex Gaisler, Cobham Gaisler, or Gaisler Research. Some files also includes copyright right statements from OAR and/or embedded Brains in addition to Gaisler. Updates #3053.
2022-10-14stackchk: Add rtems_stack_checker_iterate()Sebastian Huber1-63/+95
2022-10-14libmisc/rtems-fdt: Fix return error valuesChris Johns1-2/+2
Updates #4729
2022-10-11libmisc/rtems-fdt: Fix missing error stringChris Johns1-1/+2
- Coverity CID 1515930 issue Updates #4729
2022-10-10libmisc/rtems-fdt: Update to support 64bit addressesChris Johns2-130/+434
- Add support to get the parent address and size cells - Provide support to get a reg prop address map - Change getting a set of properties to uintptr_t - Improve the debug mode of the ls command to print all props Closes #4729
2022-10-03cpukit/fdt: Free index before containerKinsey Moore1-2/+2
Ensure that the index is released before the structure containing it is freed and NULLed. Updates #4460
2022-10-03cpukit/fdt: Check correct allocationKinsey Moore1-1/+1
The second allocation check was mistakenly rechecking the first allocation. It now checks the correct allocation and ensures that names is not NULL. Updates #4462
2022-08-03libmisc/shell: Add an 'rtems' command to report a running buildChris Johns1-0/+156
- Report version, cpu, bsp, tools and options.
2022-06-15cpukit: Fixes for GCC 12 warningsChris Johns2-0/+6
Updates #6442
2022-05-04cpukit/libmisc: Add file headers and licensesRyan Long3-3/+90
These files had no file header, copyright, or license. Based on git history, added appropriate copyright and license.
2022-04-06shell: Add rtems_shell_run_main_loop()Sebastian Huber1-0/+25
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-06shell: Move rtems_shell_init_environment() callSebastian Huber1-2/+2
Move rtems_shell_init_environment() call to rtems_shell_set_shell_env() since this function uses the POSIX key.
2022-04-06shell: Add and use SHELL_MAGICSebastian Huber1-3/+5
2022-04-06shell: Simplify rtems_shell_dup_current_env()Sebastian Huber1-10/+7
Do not assign members already provided by the global environment.
2022-04-06shell: Refactor rtems_shell_main_loop()Sebastian Huber1-134/+150
Disentangle the shell main loop from setup and teardown code. Move main loop into shell_main_loop().
2022-04-06shell: Move line editor output checkSebastian Huber1-44/+38
Move call to isatty() to caller of rtems_shell_line_editor(). This avoids a dependency on isatty() in rtems_shell_line_editor().
2022-04-06libmisc/untar: Use a larger block size to read and write filesChris Johns1-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
2022-04-05Update email address of Fernando Ruiz Casas to <fruizcasas@gmail.com>Joel Sherrill31-158/+211
This was requested to be executed prior to relicensing to BSD-2.
2022-04-02cpukit/libmisc/dumpbuf/dumpbuf.c: Manually change license to BSD-2Joel Sherrill1-3/+20
There was a typo in the license text and this file was missed by the script. Updates #3053
2022-03-24cpukit/libmisc/monitor/: Manually change to BSD-2 licenseJoel Sherrill19-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.
2022-03-22cpukit/libmisc/untar: Change license to BSD-2Joel Sherrill3-9/+66
Updates #3053.
2022-03-22cpukit/libmisc/check: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2022-03-22cpukit/libmisc/serdbg: Change license to BSD-2Joel Sherrill3-9/+66
Updates #3053.
2022-03-22cpukit/libmisc/rtems-fdt: Change license to BSD-2Joel Sherrill2-6/+44
Updates #3053.
2022-03-22cpukit/libmisc/redirector: Manually change license to BSD-2Joel Sherrill1-7/+27
Updates #3053.
2022-03-22cpukit/libmisc/mouse: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2022-03-22cpukit/libmisc/fsmount/fsmount.c: Manual header clean upJoel Sherrill1-3/+1