summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* stackchk: Add SMP supportSebastian Huber2018-06-201-37/+64
| | | | | | | | | | | | Check the interrupt stacks of all processors. Set up the interrupt stack of the current processor for high water testing in the thread begin extension. This must be done after multi-threading started, since the initialization stacks may reuse the interrupt stacks. Disable thread dispatching in SMP configurations to prevent thread migration. Writing to the interrupt stack is only safe if done from the corresponding processor in thread context. Update #3459.
* stackchk: Refactor Stack_check_Dump_threads_usageSebastian Huber2018-06-201-60/+49
| | | | Update #3459.
* stackchk: Remove dead codeSebastian Huber2018-06-201-24/+0
| | | | Update #3459.
* config: SMP only CONFIGURE_MAXIMUM_PROCESSORSSebastian Huber2018-06-201-1/+3
| | | | | | | Do not set the CONFIGURE_MAXIMUM_PROCESSORS in uni-processor default configuration, since this may lead to an oversize workspace. Update #3459.
* build: Remove EXTRA_DISTSebastian Huber2018-04-041-10/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* 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().
* fdt: Use self-contained mutexSebastian Huber2018-02-081-119/+29
| | | | Update #2843.
* stdio-redirector: Use self-contained mutexSebastian Huber2018-02-071-61/+29
| | | | Update #2843.
* test: Add rtems_test_busy_cpu_usage()Sebastian Huber2018-02-021-1/+18
|
* Remove make preinstallChris Johns2018-01-2533-7197/+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.
* monitor: Fix thread priority valuesSebastian Huber2018-01-221-1/+4
|
* tests: Change TEST BUILD to use define namesSebastian Huber2018-01-221-77/+32
|
* testsupport/testbeginend.c: Fix redefined warningJoel Sherrill2018-01-161-1/+3
|
* sparc: Remove <bsp.h> from PCI shell commandSebastian Huber2018-01-021-1/+0
| | | | | Update #3254. Update #3260.
* untar: ConstifySebastian Huber2017-12-142-2/+2
|
* uuid: Include <uuid/uuid.h>Sebastian Huber2017-12-131-1/+1
| | | | | | Prepare for header file move to common include directory. Update #3254.
* utf8proc: Include <utf8proc/utf8proc.h>Sebastian Huber2017-12-131-1/+1
| | | | | | Prepare for header file move to common include directory. Update #3254.
* redirector: Include <rtems/stdio-redirect.h>Sebastian Huber2017-12-131-2/+1
| | | | | | Prepare for header file move to common include directory. Update #3254.
* shell: Include <rtems/shell.h>Sebastian Huber2017-12-131-1/+1
| | | | | | Prepare for header file move to common include directory. Update #3254.
* monitor: Include <rtems/monitor.h>Sebastian Huber2017-12-133-3/+3
| | | | | | Prepare for header file move to common include directory. Update #3254.
* capture: Include <rtems/captureimpl.h>Sebastian Huber2017-12-132-5/+3
| | | | | | Prepare for header file move to common include directory. Update #3254.
* libmisc/stackchk/check.c: correct formatting of stack pointers in ↵Andrei Chichak2017-12-071-2/+2
| | | | | | | | Stack_check_Dump_threads_usage Pointers were being printed as 0x<decimal> rather than 0x<hex>. I altered the formatting define used to give the correct formatting. Close #3240
* testsupport/test.h: Add RTEMS_NO_RETURN to rtems_test_exit()Joel Sherrill2017-11-291-1/+1
|
* tests: Use ld to map (wrap) printf, puts and putchar to tester functions.Chris Johns2017-11-114-0/+61
| | | | | | | | | - Remove the macro defines and the need for tmacro.h by remapping the symbols using ld's wrap option. - Remove FLUSH_OUTPUT, it was empty. - Move rtems_test_exit to libmisc/testsupport as a function. Update #3199.
* tests: Use rtems_test_begin and rtems_test_end.Chris Johns2017-11-112-13/+120
| | | | | | Add a tests enum and move all test banner test to the library in libmisc. Update #3199.
* tests: Move rtems_test_printer definitionSebastian Huber2017-10-281-1/+6
| | | | | | | Statically initialize it to use printk(). Update #3170. Update #3199.
* xz/README: Correct URLJoel Sherrill2017-10-111-1/+2
| | | | Closes #2829.
* shell: Fix missing prototype warningSebastian Huber2017-09-281-0/+1
|
* libio: Avoid direct use of rtems_libio_iopsSebastian Huber2017-09-142-2/+2
| | | | Update #3132.
* serdbg: Fix warningSebastian Huber2017-09-121-1/+0
| | | | Update #3122.
* Simplify and unify BSP_output_charSebastian Huber2017-09-121-3/+0
| | | | | | | | The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
* Include missing <limits.h>Sebastian Huber2017-08-253-0/+3
| | | | Update #2132.
* Include missing <string.h>Sebastian Huber2017-08-256-0/+7
| | | | Update #2133.
* heap: Fix integer typesSebastian Huber2017-08-222-7/+7
| | | | Update #3082.
* libmisc/rtems-fdt: Add RTEMS FDT wrapper and shell command to libmisc.Chris Johns2017-08-205-0/+2498
| | | | | | | | | - Provide application support for handling FDT blobs in RTEMS. This is useful when interfacing FPGA fabrics. - Provide a shell command to list a blob as well as provide read and write access to addresses in the FTB. Closes #3099.
* 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.
* untar: Fix compile errorSebastian Huber2017-07-281-1/+1
|
* untar: Fix use of uninitialized variableSebastian Huber2017-07-281-0/+2
|
* dumpbuf: Simplify rtems_print_buffer()Sebastian Huber2017-07-181-11/+17
| | | | | | This avoids an unnecessary use of the floating point unit. Update #3076.
* xz: Suppress attribute warningsSebastian Huber2017-07-051-0/+7
| | | | Update #2909.
* tests: Move busy loop to test supportSebastian Huber2017-06-293-1/+125
| | | | Update #3056.
* capture/rtems-trace-buffer-vars.c: Fix duplicate const warningJoel Sherrill2017-06-211-1/+1
|
* shell: Display scheduler instead of current CPUSebastian Huber2017-06-162-11/+19
| | | | | | | Display the scheduler name instead of the current CPU in the "task" shell command. The current CPU could be misleading in case locking protocols are involved. The "cpuuse" command can be used to obtain the current CPU.
* xz: Use CRC32Sebastian Huber2017-06-132-7/+2
| | | | | | | This reverts c475924d6d2ea7d5cba160a8a28e88642d6b46d8. Update #2909. Close #2994.
* 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
|
* xz/xz_config.h: Address unable to inline warningJoel Sherrill2017-04-241-0/+5
|
* libmisc/monitor: Correctly print unlimited configuration table entries.Chris Johns2017-04-191-12/+22
| | | | Closes #2997.
* 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.
* xz_config.h: Define XZ_USE_CRC64Joel Sherrill2017-04-061-1/+1
| | | | close #2909.