summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-19Move feature macro before "config.h" includeSebastian Huber4-9/+12
This allows to use header includes in "config.h" to reduce the build configuration checks. Update #3818.
2019-05-14shell: Avoid rtems_error()Sebastian Huber1-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.
2019-03-14main_edit.c: Use strncpy() to eliminate potential buffer overflow.Joel Sherrill1-4/+5
2019-03-14Remove superfluous <rtems/system.h> includesSebastian Huber4-4/+0
2019-03-08shell: Correct argument order of `mfill`Jonathan Brandmeyer1-1/+1
Close #3720.
2019-01-10Fix format warnings due to ino_t changesSebastian Huber2-4/+8
2019-01-07Fix format warningsSebastian Huber1-5/+9
2018-12-27drvmgr: Improve LP64 compatibilitySebastian Huber1-1/+2
2018-11-09rtems: Deprecate region_information_blockSebastian Huber1-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.
2018-10-09shell: Use #include "..." for local header filesSebastian Huber29-36/+36
Update #3375.
2018-10-02Use rtems_task_exit()Sebastian Huber1-1/+1
Update #3530. Update #3533.
2018-03-12shell: Fix rtems_shell_init_env()Sebastian Huber1-1/+1
Do not discard a user provided task name in rtems_shell_init_env().
2018-01-25Remove make preinstallChris Johns2-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.
2018-01-02sparc: Remove <bsp.h> from PCI shell commandSebastian Huber1-1/+0
Update #3254. Update #3260.
2017-12-13shell: Include <rtems/shell.h>Sebastian Huber1-1/+1
Prepare for header file move to common include directory. Update #3254.
2017-09-28shell: Fix missing prototype warningSebastian Huber1-0/+1
2017-08-25Include missing <limits.h>Sebastian Huber3-0/+3
Update #2132.
2017-08-25Include missing <string.h>Sebastian Huber2-0/+2
Update #2133.
2017-08-22heap: Fix integer typesSebastian Huber1-3/+3
Update #3082.
2017-08-14libmisc/shell: Make some internal shell functions public.Chris Johns3-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.
2017-06-07Do not include <sys/ioctl.h> in kernel-spaceSebastian Huber1-0/+1
Update #2833.
2017-05-02shell: Fix format specifiersSebastian Huber1-3/+3
2017-04-18rtems/inttypes.h: New file. Uses contents from cpukitJoel Sherrill1-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.
2017-02-15shell: Fix warningsSebastian Huber2-4/+8
2017-02-14shell: Fix warningsSebastian Huber1-2/+0
2017-01-24Use <sys/endian.h>Sebastian Huber1-2/+2
Update #2803.
2016-06-22Move printer initialization to separate headerSebastian Huber7-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>.
2016-06-06shell: Add rtems_shell_wait_for_explicit_input()Alexander Krutwig2-4/+40
2016-05-31shell: Add CPUINFO commandSebastian Huber2-0/+44
Update #2723.
2016-05-25cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns6-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.
2016-04-12shell: Fix warning visible with latest NewlibSebastian Huber1-0/+2
Works also with previous Newlib versions.
2016-03-24shell/hexdump-odsyntax.c: Add define of _GNU_SOURCE to avoid warningsJoel Sherrill1-0/+3
2016-03-24shell/hexdump-conv.c: Disable sccsid to avoid unused warningJoel Sherrill1-0/+2
2016-03-24libmisc/shell/main_hexdump.c: Disable unused copyright stringJoel Sherrill1-0/+2
2015-12-15libmisc: Include missing header file, fix warningsNick Withers2-6/+7
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber20-28/+31
2015-04-17DRVMGR: KEY_TYPE now a enum drvmgr_ktDaniel Hellstrom1-8/+8
2015-04-17DRVMGR: added drvmgr shell commandDaniel Hellstrom2-0/+435
2015-04-17LIBPCI: added PCI shell commandDaniel Hellstrom2-0/+541
2015-04-03shell/main_rtrace.c: Fix warningJoel Sherrill1-1/+1
2015-03-31libmisc/shell: Add the rtrace command for buffered tracing support.Chris Johns2-0/+708
The rtrace command interfaces to the RTEMS Trace Linker's trace buffering data allowing users to capture and report trace data.
2015-03-24shell/utils-cp.c: Avoid redefinition of TIMESPEC_TO_TIMEVALJoel Sherrill1-0/+9
2015-03-22cpukit/libmisc/shell/hexdump-conv.c: Eliminate printf() format warningJoel Sherrill1-1/+5
2015-03-22cpukit/libmisc/shell/main_df.c: Eliminate printf() format warningJoel Sherrill1-2/+3
2015-03-20Replace www.rtems.com with www.rtems.orgSebastian Huber1-1/+1
2015-03-16shell: remove rtems ifdef, upstream is correctGedare Bloom1-8/+0
2015-03-16shell: fix printf warningsGedare Bloom1-4/+5
2015-03-06shell: Add PROFREPORT commandSebastian Huber2-0/+49
2015-01-22score: Delete superfluous Heap_Statistics::instanceSebastian Huber1-2/+0
This value depends on the _Heap_Initialize() call sequence and carries no useful information.
2014-12-12shell: Add 'all' topic for help for all commandsSebastian Huber1-11/+19