summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* posix: Remove unused global variableSebastian Huber2017-12-151-2/+0
| | | | | Update #2702. Update #2555.
* epiphany: Remove superfluous includesSebastian Huber2017-12-141-4/+0
| | | | Update #3254.
* untar: ConstifySebastian Huber2017-12-142-2/+2
|
* zlib: Fix buildSebastian Huber2017-12-134-6/+7
| | | | Update #3254.
* zlib: Do not generate zconf.hSebastian Huber2017-12-132-10/+2
| | | | Update #3254.
* telnetd: Include <rtems/passwd.h>Sebastian Huber2017-12-131-1/+1
| | | | | | Prepare for header file move to common include directory. Update #3254.
* pppd: Include <rtems/rtems*.h>Sebastian Huber2017-12-132-2/+2
| | | | | | Prepare for header file move to common include directory. Update #3254.
* mghttpd: Include <mghttpd/mongoose.h>Sebastian Huber2017-12-131-1/+1
| | | | | | Prepare for header file move to common include directory. Update #3254.
* 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.
* RFS: Include <rtems/rtems-rfs-shell.h>Sebastian Huber2017-12-131-1/+1
| | | | | | Prepare for header file move to common include directory. Update #3254.
* libdl: Include <rtems/rtl/rtl-*.h>Sebastian Huber2017-12-1328-41/+41
| | | | | | Prepare for header file move to common include directory. Update #3254.
* pipe: Include <rtems/pipe.h>Sebastian Huber2017-12-131-2/+1
| | | | | | Prepare for header file move to common include directory. Update #3254.
* dosfs: Include <rtems/dosfs.h>Sebastian Huber2017-12-132-2/+2
| | | | | | Prepare for header file move to common include directory. Update #3254.
* ftpd: Include <rtems/ftpd.h>Sebastian Huber2017-12-131-2/+1
| | | | | | Prepare for header file move to common include directory. Update #3254.
* devfs: Include <rtems/devfs.h>Sebastian Huber2017-12-1310-10/+10
| | | | | | Prepare for header file move to common include directory. Update #3254.
* IMFS: Include <rtems/imfs.h>Sebastian Huber2017-12-1329-29/+29
| | | | | | Prepare for header file move to common include directory. Update #3254.
* libdebugger: Avoid use of <bsp/linker-symbols.h>Sebastian Huber2017-12-131-2/+4
| | | | Update #3254.
* arm: Move <libcpu/arm-cp15.h> to cpukitSebastian Huber2017-12-133-0/+2272
| | | | Update #3254.
* dosfs: Allow creating a file with similar name.Christian Mauderer2017-12-071-3/+7
| | | | | | | | If there is already a file with a long file name it isn't possible to create a second file which has a name that ends on the first files name (for example ets.beam and sets.beam). This patch fixes that. Update #3258.
* Remove obsolete network header filesSebastian Huber2017-12-0727-4653/+0
| | | | 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
* taskmode.c: Ensure all error checking is done before modifying executingJoel Sherrill2017-12-061-3/+31
| | | | | | | Also use single conditional expressions to simplify error checking. Combined, this all resulted in a block of SMP enabled error checking. Updates #3000.
* confdefs: Replace RTEMS 4.12 with 5.1Sebastian Huber2017-12-061-8/+8
| | | | Update #3220.
* libio: Use API mutexSebastian Huber2017-12-064-54/+18
|
* drvmgr: Use API mutexSebastian Huber2017-12-064-37/+7
|
* dosfs: Fix files with same name as volume name.Christian Mauderer2017-12-051-1/+2
| | | | | | | Take care that a file in the root directory with the same name as the volume name can be found. Update #3257.
* score: Use self-contained API mutexSebastian Huber2017-12-0426-242/+119
| | | | | | | | | | Use a self-contained recursive mutex for API_Mutex_Control. The API mutexes are protected against asynchronous thread cancellation. Add dedicated mutexes for libatomic and TOD. Close #2629. Close #2630.
* ada: Fix user extension supportSebastian Huber2017-12-011-6/+6
|
* riscv/rtems/score/cpu.h: Use RTEMS_NO_RETURN not deprecated ↵Joel Sherrill2017-11-291-3/+2
| | | | RTEMS_COMPILER_NO_RETURN_ATTRIBUTE
* sapi/src/panic.c: Add include of <rtems/bspIo.h>Joel Sherrill2017-11-291-0/+1
|
* testsupport/test.h: Add RTEMS_NO_RETURN to rtems_test_exit()Joel Sherrill2017-11-291-1/+1
|
* rtems/inttypes: Clarify hexadecimal in commentsMartin Erik Werner2017-11-291-2/+2
| | | | | | | Update comments to reflect that PRIxblksize_t PRIxblkcnt_t is hexadecimal, not decimal. Signed-off-by: Martin Erik Werner <martin.werner@aacmicrotec.com>
* bsps: Provide <tm27.h> in each BSPSebastian Huber2017-11-273-0/+58
| | | | | | | | | Since the <tm27.h> is highly BSP-dependent and used only by the tm27 test program we must provide this header file for each BSP. Without the preinstall build target each header file must have a unique source header file. Update #3254.
* Move Ada includesSebastian Huber2017-11-2742-0/+5024
| | | | Update #3254.
* powerpc: Remove _BSP_Fatal_error()Sebastian Huber2017-11-221-13/+12
| | | | | | | BSPs can use the bsp_fatal_extension() to provide BSP-specific fatal error handling. There is no need for a _BSP_Fatal_error(). Close #3246.
* powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber2017-11-221-2/+0
| | | | | | | | Due to a new rtems_panic() implementation, it is possible to replace the PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic() implementations. Close #3245.
* sapi: New implementation of rtems_panic()Sebastian Huber2017-11-226-24/+53
| | | | | | | | | | | | The previous rtems_panic() implementation was quite heavy weight. It depended on _exit() which calls the global destructors. It used fprintf(stderr, ...) for output which depends on an initialized console device and the complex fprintf(). Introduce a new fatal source RTEMS_FATAL_SOURCE_PANIC for rtems_panic() and output via vprintk(). Update #3244.
* INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULLSebastian Huber2017-11-222-8/+2
| | | | | | Delete superfluous INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL. Update #3243.
* score: Simplify global constructionSebastian Huber2017-11-226-119/+64
| | | | Update #3243.
* Fix comments for object lookup error to RTEMS status mapMartin Erik Werner2017-11-211-3/+3
| | | | | | | | | | | | | | | | | | Based on correlation with the enum for object lookup errors in cpukit/score/include/rtems/score/objectimpl.h: typedef enum { OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL, OBJECTS_INVALID_NAME, OBJECTS_INVALID_ADDRESS, OBJECTS_INVALID_ID, OBJECTS_INVALID_NODE } Objects_Name_or_id_lookup_errors; update the comments regarding the object lookup error to status map to match. Signed-off-by: Martin Erik Werner <martin.werner@aacmicrotec.com>
* posix: _POSIX_Threads_Get_sched_param_sporadic()Sebastian Huber2017-11-213-9/+4
| | | | | | Remove api parameter to simplify the calling functions. Update #2514.
* score: Optimize scheduler priority updatesSebastian Huber2017-11-2026-864/+484
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thread priority changes may append or prepend the thread to its priority group on the scheduler ready queue. Previously, a separate priority value and a prepend-it flag in the scheduler node were used to propagate a priority change to the scheduler. Now, use an append-it bit in the priority control and reduce the plain priority value to 63 bits. This change leads to a significant code size reduction (about 25%) of the SMP schedulers. The negligible increase of the standard priority scheduler is due to some additional shift operations (SCHEDULER_PRIORITY_MAP() and SCHEDULER_PRIORITY_UNMAP()). Before: text filename 136 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleblock.o 464 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimplechangepriority.o 24 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimple.o 108 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleschedule.o 292 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleunblock.o 264 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleyield.o text filename 280 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityblock.o 488 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerprioritychangepriority.o 200 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriority.o 164 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityschedule.o 328 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityunblock.o 200 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityyield.o text filename 24112 arm-rtems5/c/imx7/cpukit/score/src/libscore_a-scheduleredfsmp.o text filename 37204 sparc-rtems5/c/gr740/cpukit/score/src/libscore_a-scheduleredfsmp.o text filename 42236 powerpc-rtems5/c/qoriq_e6500_32/cpukit/score/src/libscore_a-scheduleredfsmp.o After: text filename 136 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleblock.o 272 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimplechangepriority.o 24 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimple.o 108 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleschedule.o 292 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleunblock.o 264 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleyield.o text filename 280 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityblock.o 488 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerprioritychangepriority.o 208 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriority.o 164 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityschedule.o 332 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityunblock.o 200 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityyield.o text filename 18860 arm-rtems5/c/imx7/cpukit/score/src/libscore_a-scheduleredfsmp.o text filename 28520 sparc-rtems5/c/gr740/cpukit/score/src/libscore_a-scheduleredfsmp.o text filename 32664 powerpc-rtems5/c/qoriq_e6500_32/cpukit/score/src/libscore_a-scheduleredfsmp.o
* bsps/powerpc: Fix PPC_EXC_CONFIG_USE_FIXED_HANDLERSebastian Huber2017-11-201-2/+2
| | | | | | For the SPE support we must store the upper half of r3 as well. Update #3085.
* cpukit: Add _arc4random_getentropy_fail.Christian Mauderer2017-11-174-3/+27
| | | | | | | Add a default implementation of _arc4random_getentropy_fail with an internal error. Update #3239.
* score: Adjust _Scheduler_EDF_SMP_Insert_ready()Sebastian Huber2017-11-172-7/+5
| | | | | Use only one parameter to compute the next generation. Use index 0 for LIFO ordering, and index 1 for FIFO ordering.