summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit/libmisc: Cast getpid() before shiftingKinsey Moore2024-01-221-0/+5
| | | | | Cast getpid() before shifting to avoid truncation of upper bits before the 64bit XOR occurs.
* cpukit/libmisc/uuid: Check for invalid FDKinsey Moore2024-01-221-0/+6
|
* rtems-fdt: Fix node property access on 64bitChris Johns2023-12-141-1/+1
|
* libmisc/shell: Work around tmux bug in row and columnChris Johns2023-12-131-25/+125
| | | | | | | | | - Extend the timeout to 150 msec for long remote sessions - Improve the performance of the detection Closes #4975 Closes #4977
* Address Regulator warning for no prototype for memset()zack2023-08-151-0/+1
| | | | Closes #4942.
* Add the Regulator Interface and testJoel Sherrill2023-08-111-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.
* Move various compression libraries into single subdirectoryJoel Sherrill2023-06-0610-2704/+0
| | | | | | This improves the organization of the cpukit. Closes #4912.
* Update company nameSebastian Huber2023-05-2018-18/+18
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* libmisc/shell: Fix file pointer leak and improved input data sanitation.Aaron Nyholm2023-05-171-17/+10
| | | | | Coverity #1530126 Coverity #1530125
* libmisc/shell: Add flashdev commandAaron Nyholm2023-05-161-0/+591
|
* cpuuse: Add implementation Doxygen groupSebastian Huber2023-03-165-4/+30
|
* libmisc/shell/main_edit.c: User cannot cut using ctrl e and xzack2023-02-151-2/+1
| | | | Closes #4557
* shell/main_pci.c: Address Dereference after null error checkJoel Sherrill2023-02-101-1/+1
| | | | | | Coverity CID 1399716 Closes #431.
* libmisc/serdbg: Remove obsolete serial debugJoel Sherrill2023-02-094-748/+0
| | | | Closes #2828.
* libmisc/shell/edit: Return if no memory in move_gapChris Johns2023-01-311-0/+3
| | | | Closes #4835
* libmisc/shell/edit: Fix closing the editorChris Johns2023-01-311-11/+4
| | | | Closes #4834
* cpuuse: Use standard wording and group nameSebastian Huber2023-01-244-10/+12
| | | | Use standard wording in CPU usage reporting files.
* rtems_shell_main_chmod: Correct argument indexingzack leung2022-12-261-1/+1
| | | | Closes #4751
* rtems_shell_main_mmove problemzack leung2022-12-231-1/+1
| | | | | | | --0000000000006acec205efd38cd6 Content-Type: text/plain; charset="UTF-8" Closes #4556
* libmisc/rtems-fdt: Support prop map items up to the size of uintptr_tChris Johns2022-11-251-2/+17
| | | | Updates #4729
* libmisc/shell: Fix edit Coverity errorChris Johns2022-11-251-1/+1
| | | | Coverity Id: CID 1517029, CID 1517030, CID 1517031
* libmisc/shell: Support terminal size as env variablesChris Johns2022-11-233-39/+155
| | | | Closes #4763
* cpukit/rtems-fdt: Avoid use of malloc/errnoKinsey Moore2022-11-181-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.
* cpukit: Change license to BSD-2 for files with Gaisler copyrightDaniel Cederman2022-11-142-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.
* stackchk: Add rtems_stack_checker_iterate()Sebastian Huber2022-10-141-63/+95
|
* libmisc/rtems-fdt: Fix return error valuesChris Johns2022-10-141-2/+2
| | | | Updates #4729
* libmisc/rtems-fdt: Fix missing error stringChris Johns2022-10-111-1/+2
| | | | | | - Coverity CID 1515930 issue Updates #4729
* libmisc/rtems-fdt: Update to support 64bit addressesChris Johns2022-10-102-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
* cpukit/fdt: Free index before containerKinsey Moore2022-10-031-2/+2
| | | | | | | Ensure that the index is released before the structure containing it is freed and NULLed. Updates #4460
* cpukit/fdt: Check correct allocationKinsey Moore2022-10-031-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
* libmisc/shell: Add an 'rtems' command to report a running buildChris Johns2022-08-031-0/+156
| | | | - Report version, cpu, bsp, tools and options.
* cpukit: Fixes for GCC 12 warningsChris Johns2022-06-152-0/+6
| | | | Updates #6442
* cpukit/libmisc: Add file headers and licensesRyan Long2022-05-043-3/+90
| | | | | These files had no file header, copyright, or license. Based on git history, added appropriate copyright and license.
* shell: Add rtems_shell_run_main_loop()Sebastian Huber2022-04-061-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.
* 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-0531-158/+211
| | | | 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/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/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
|