summaryrefslogtreecommitdiff
path: root/cpukit (follow)
AgeCommit message (Collapse)Author
2017-11-16score: Fix priority ceiling updatesSebastian Huber
We must not clear the priority updates in _Thread_queue_Extract_locked() since this function is used by the priority ceiling surrender operations after the ceiling priority handover from the previous owner to the new owner. This is especially important in SMP configurations. Move the _Thread_queue_Context_clear_priority_updates() invocation to the callers. Close #3237.
2017-11-16score: Fix _Thread_queue_Flush_critical()Sebastian Huber
The thread queue extract operations performed by the _Thread_queue_Flush_critical() may result in a priority change of the thread queue owner. Carry out the scheduler priority update operation. This is especially important in SMP configurations. Close #3236.
2017-11-16rtems: rtems_semaphore_flush() with prio inheritSebastian Huber
The _Semaphore_Get_operations() must return the proper operations for priority inheritance semaphores. Add a test case for rtems_semaphore_flush() with priority inheritance. Close #3235.
2017-11-16score: Check thread resource count in timer serverSebastian Huber
The watchdog routines invoked by the timer server may use mutexes for synchronization. Ensure that the resource count of the timer server is zero after each watchdog routine invocation. This helps to detect broken watchdog routines.
2017-11-15libio: Add assert to rtems_libio_iop_drop()Sebastian Huber
This assert helps to detect an invalid reference counting in RTEMS_DEBUG configurations. Update #3132.
2017-11-14build: Fix the dependence for the generating the key file.Chris Johns
Update #3217.
2017-11-13Change RTEMS_API from 5.0 to 5Sebastian Huber
This fixes the legacy Makefile based build system which expects RTEMS_API to be identical to the tool chain version. Update #3220.
2017-11-13Fix bashism in vc-key.shMartin Erik Werner
Change "==" to "=", since "==" for comparison is not available in POSIX sh. Signed-off-by: Martin Erik Werner <martinerikwerner@gmail.com>
2017-11-11tests: Use ld to map (wrap) printf, puts and putchar to tester functions.Chris Johns
- 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.
2017-11-11tests: Use rtems_test_begin and rtems_test_end.Chris Johns
Add a tests enum and move all test banner test to the library in libmisc. Update #3199.
2017-11-10cpukit: Add a Version API.Chris Johns
Provide functions to get the version string, major, minor and revision numbers and the version control identifer that is a unique tag for the version control system. Update #3199.
2017-11-09Reject incompatible tool chainsSebastian Huber
Update #3185.
2017-11-09score: Change _Timecounter_Time_uptime to int32_tSebastian Huber
Move basic timecounter API shared with BSD network stack to <machine/_timecounter.h>. Update #3185.
2017-11-09Upgrade to 5.0.0Sebastian Huber
Tool name will be "rtems5", e.g. arm-rtems5-gcc. Next release will 5.1.0. Branch version after release will be 5.1.1. Next master will be 6.0.0.
2017-11-09posix: Change created_with_explicit_schedulerSebastian Huber
Remove POSIX_API_Control::created_with_explicit_scheduler. Add Thread_Control::was_created_with_inherited_scheduler. This fixes also pthread_getattr_np() for Classic tasks. Update #2514.
2017-11-09posix: Remove POSIX_API_Control::schedpolicySebastian Huber
Use the thread CPU budget algorithm to determine the scheduler policy. This fixes also pthread_getschedparam() for Classic tasks. Update #2514.
2017-11-07termios: Fix canonical modeSebastian Huber
In canonical mode, input is made available line by line. We must stop the canonical buffer filling upon reception of an end-of-line character. Close #3218.
2017-11-06score: Use Processor_mask instead of cpu_set_tSebastian Huber
2017-11-06score: _Chain_Insert_ordered_unprotected()Sebastian Huber
Change the chain order relation to use a directly specified left hand side value. This is similar to _RBTree_Insert_inline() and helps the compiler to better optimize the code.
2017-11-06score: Remove superfluous includeSebastian Huber
Update #3059.
2017-11-06Add simple console driverSebastian Huber
Update #3170. Update #3199.
2017-11-06score: Add _IO_Printf() and _IO_Vprintf()Sebastian Huber
The previous vprintk() implementation had a questionable licence header, lacks support for the 'z' and 'j' format specifiers, is not robust against invalid format specifiers, uses a global variable for output. Replace it with a stripped down version of the FreeBSD kernel kvprintf() function. The new implementation allows a low overhead rtems_snprintf() if necessary. Update #3199. Close #3216.
2017-11-02posix: Use far future for very long timeoutsSebastian Huber
Close #3205.
2017-11-01cpukit: RISC-V - make riscv32 code work for riscv64 - v2Hesham Almatary
* Use #ifdefs for 32/64 bit code * Use unsigned long which is 32-bit on riscv32 and 64-bit on riscv64 (register size) * Move the code to a new shared riscv folder to be shared between riscv32 and riscv64 * Rename RTEMS_CPU extracted from command line to shared riscv target s/riscv*/riscv Update #3109
2017-10-29score: Fix non-SMP buildSebastian Huber
2017-10-28rtems: Add rtems_print_printer_fprintf_putc()Sebastian Huber
Update #3170. Update #3199.
2017-10-28tests: Move rtems_test_printer definitionSebastian Huber
Statically initialize it to use printk(). Update #3170. Update #3199.
2017-10-28riscv32: Add missing preinstall.amSebastian Huber
Update #3109.
2017-10-28score: Fix _Scheduler_Set_affinity()Sebastian Huber
2017-10-28posix: Fix pthread_create() with user stackSebastian Huber
In case the user provides a stack with address and size, then do not alter the stack size. Close #3211.
2017-10-28score: Simplify SMP get lowest scheduledSebastian Huber
There is no need to pass in the order relation since the scheduled threads reside on an already ordered chain. The caller will decide what to do with the lowest scheduled thread.
2017-10-28cpukit: Add basic riscv32 architecture port v3Hesham Almatary
Limitations: * NO FPU support [TODO] Update #3109
2017-10-28cpukit: librpc - add riscv* to xdr_float.c v3Hesham Almatary
2017-10-28Add riscv32 to autotools files v3Hesham Almatary
2017-10-26score: Delete _Scheduler_Thread_set_priority()Sebastian Huber
2017-10-25confdefs: CONFIGURE_MICROSECONDS_PER_TICKSebastian Huber
Reject non-positive CONFIGURE_MICROSECONDS_PER_TICK values.
2017-10-25rtems: rtems_clock_get_ticks_per_second()Sebastian Huber
Add macro implementation for rtems_clock_get_ticks_per_second() for C/C++ to avoid the function call overhead. A rtems_clock_get_ticks_per_second() is still provided for language bindings (e.g. Ada).
2017-10-24score: Move thread queue timeout handlingSebastian Huber
Update #3117. Update #3182.
2017-10-24score: Rename function threadq support functionSebastian Huber
Rename _Thread_queue_Context_set_do_nothing_enqueue_callout() into _Thread_queue_Context_set_enqueue_do_nothing_extra(). More _Thread_queue_Context_set_enqueue_*() functions will follow. Update #3117. Update #3182.
2017-10-24score: Add _Thread_Continue()Sebastian Huber
Update #3117. Update #3182.
2017-10-24score: _Watchdog_Per_CPU_lazy_insert_monotonic()Sebastian Huber
Update #3117. Update #3182.
2017-10-24score: Add _Watchdog_Monotonic_from_timespec()Sebastian Huber
Update #3117. Update #3182.
2017-10-24score: Add _Watchdog_Nanoseconds_per_tickSebastian Huber
Move it from the configuration to a separate variable. Update #3117. Update #3182.
2017-10-24score: _Watchdog_Is_far_future_monotonic_timespecSebastian Huber
Update #3117. Update #3182.
2017-10-24score: Add _Watchdog_Is_valid_interval_timespec()Sebastian Huber
Update #3117. Update #3182.
2017-10-24score: _Watchdog_Is_far_future_realtime_timespec()Sebastian Huber
Update #3117. Update #3182.
2017-10-24score: Rename _Watchdog_Ticks_from_*()Sebastian Huber
Rename _Watchdog_Ticks_from_*() to _Watchdog_Realtime_from_*(). This highlights that these routines are used for the CLOCK_REALTIME watchdogs (in contrast to CLOCK_MONOTONIC). Update #3117. Update #3182.
2017-10-24confdefs: Warn about problematic ticks per secondSebastian Huber
A non-integer clock ticks per second value may lead to inaccurate time format conversions. Update #3117. Update #3182.
2017-10-24rtems: Simplify RTEMS_MILLISECONDS_TO_MICROSECONDSSebastian Huber
Remove the cast so that it can be used in C pre-processor directives. Update #3117. Update #3182.
2017-10-24score: Add _Watchdog_Ticks_per_secondSebastian Huber
This value is frequently used. Avoid the function call overhead and the integer division at run-time. Update #3117. Update #3182.