summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move feature macro before "config.h" includeSebastian Huber2019-11-194-9/+12
| | | | | | | This allows to use header includes in "config.h" to reduce the build configuration checks. Update #3818.
* shell: Avoid rtems_error()Sebastian Huber2019-05-141-9/+0
| | | | | | | Do not use the rtems_error() function since this function pulls in exit() and abort(). The abort() function pulls in raise() which pulls in the whole POSIX signals support. This change saves about 16KiB of text/rodata on ARM Thumb-2 systems.
* main_edit.c: Use strncpy() to eliminate potential buffer overflow.Joel Sherrill2019-03-141-4/+5
|
* Remove superfluous <rtems/system.h> includesSebastian Huber2019-03-144-4/+0
|
* shell: Correct argument order of `mfill`Jonathan Brandmeyer2019-03-081-1/+1
| | | | Close #3720.
* Fix format warnings due to ino_t changesSebastian Huber2019-01-102-4/+8
|
* Fix format warningsSebastian Huber2019-01-071-5/+9
|
* drvmgr: Improve LP64 compatibilitySebastian Huber2018-12-271-1/+2
|
* rtems: Deprecate region_information_blockSebastian Huber2018-11-091-1/+1
| | | | | | | The region_information_block typedef as no corresponding API. It has no proper namespace prefix. A user can do nothing with it. Close #3591.
* shell: Use #include "..." for local header filesSebastian Huber2018-10-0929-36/+36
| | | | Update #3375.
* Use rtems_task_exit()Sebastian Huber2018-10-021-1/+1
| | | | | Update #3530. Update #3533.
* shell: Fix rtems_shell_init_env()Sebastian Huber2018-03-121-1/+1
| | | | Do not discard a user provided task name in rtems_shell_init_env().
* Remove make preinstallChris Johns2018-01-252-939/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* sparc: Remove <bsp.h> from PCI shell commandSebastian Huber2018-01-021-1/+0
| | | | | Update #3254. Update #3260.
* shell: Include <rtems/shell.h>Sebastian Huber2017-12-131-1/+1
| | | | | | Prepare for header file move to common include directory. Update #3254.
* shell: Fix missing prototype warningSebastian Huber2017-09-281-0/+1
|
* Include missing <limits.h>Sebastian Huber2017-08-253-0/+3
| | | | Update #2132.
* Include missing <string.h>Sebastian Huber2017-08-252-0/+2
| | | | Update #2133.
* heap: Fix integer typesSebastian Huber2017-08-221-3/+3
| | | | Update #3082.
* libmisc/shell: Make some internal shell functions public.Chris Johns2017-08-143-19/+35
| | | | | | | | | | - Add 'rtems_shell_init_environment()' so a user can create the shell environment without needing to run a shell. - Move 'rtems_shell_lookup_topic', 'rtems_shell_can_see_cmd', and 'rtems_shell_execute_cmd' from the internal interface to the public interface. Closes #3096.
* Do not include <sys/ioctl.h> in kernel-spaceSebastian Huber2017-06-071-0/+1
| | | | Update #2833.
* shell: Fix format specifiersSebastian Huber2017-05-021-3/+3
|
* rtems/inttypes.h: New file. Uses contents from cpukitJoel Sherrill2017-04-181-9/+1
| | | | | | | | Provide extentions to <inttpes.h> PRIxxx constants for more POSIX types. Start with existing definitions found in RTEMS Project owned code in cpukit/. updates #2983.
* shell: Fix warningsSebastian Huber2017-02-152-4/+8
|
* shell: Fix warningsSebastian Huber2017-02-141-2/+0
|
* Use <sys/endian.h>Sebastian Huber2017-01-241-2/+2
| | | | Update #2803.
* Move printer initialization to separate headerSebastian Huber2016-06-227-0/+7
| | | | | | The RTEMS print user need to know nothing about a particular printer implementation. In particular get rid of the <stdio.h> include which would be visible via <rtems.h>.
* shell: Add rtems_shell_wait_for_explicit_input()Alexander Krutwig2016-06-062-4/+40
|
* shell: Add CPUINFO commandSebastian Huber2016-05-312-0/+44
| | | | Update #2723.
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-256-12/+20
| | | | | | | | | | | | | | | | | | | This change adds rtems_printf and related functions and wraps the RTEMS print plugin support into a user API. All references to the plugin are removed and replaced with the rtems_printer interface. Printk and related functions are made to return a valid number of characters formatted and output. The function attribute to check printf functions has been added to rtems_printf and printk. No changes to remove warrnings are part of this patch set. The testsuite has been moved over to the rtems_printer. The testsuite has a mix of rtems_printer access and direct print control via the tmacros.h header file. The support for begink/endk has been removed as it served no purpose and only confused the code base. The testsuite has not been refactored to use rtems_printf. This is future work.
* shell: Fix warning visible with latest NewlibSebastian Huber2016-04-121-0/+2
| | | | Works also with previous Newlib versions.
* shell/hexdump-odsyntax.c: Add define of _GNU_SOURCE to avoid warningsJoel Sherrill2016-03-241-0/+3
|
* shell/hexdump-conv.c: Disable sccsid to avoid unused warningJoel Sherrill2016-03-241-0/+2
|
* libmisc/shell/main_hexdump.c: Disable unused copyright stringJoel Sherrill2016-03-241-0/+2
|
* libmisc: Include missing header file, fix warningsNick Withers2015-12-152-6/+7
|
* basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2015-10-2620-28/+31
|
* DRVMGR: KEY_TYPE now a enum drvmgr_ktDaniel Hellstrom2015-04-171-8/+8
|
* DRVMGR: added drvmgr shell commandDaniel Hellstrom2015-04-172-0/+435
|
* LIBPCI: added PCI shell commandDaniel Hellstrom2015-04-172-0/+541
|
* shell/main_rtrace.c: Fix warningJoel Sherrill2015-04-031-1/+1
|
* libmisc/shell: Add the rtrace command for buffered tracing support.Chris Johns2015-03-312-0/+708
| | | | | The rtrace command interfaces to the RTEMS Trace Linker's trace buffering data allowing users to capture and report trace data.
* shell/utils-cp.c: Avoid redefinition of TIMESPEC_TO_TIMEVALJoel Sherrill2015-03-241-0/+9
|
* cpukit/libmisc/shell/hexdump-conv.c: Eliminate printf() format warningJoel Sherrill2015-03-221-1/+5
|
* cpukit/libmisc/shell/main_df.c: Eliminate printf() format warningJoel Sherrill2015-03-221-2/+3
|
* Replace www.rtems.com with www.rtems.orgSebastian Huber2015-03-201-1/+1
|
* shell: remove rtems ifdef, upstream is correctGedare Bloom2015-03-161-8/+0
|
* shell: fix printf warningsGedare Bloom2015-03-161-4/+5
|
* shell: Add PROFREPORT commandSebastian Huber2015-03-062-0/+49
|
* score: Delete superfluous Heap_Statistics::instanceSebastian Huber2015-01-221-2/+0
| | | | | This value depends on the _Heap_Initialize() call sequence and carries no useful information.
* shell: Add 'all' topic for help for all commandsSebastian Huber2014-12-121-11/+19
|