summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-23posix: cond_timedwait remember and use clock from condattrclock2Gedare Bloom
updates #2745
2016-06-23posix: refactor cond wait support to defer abstime conversionGedare Bloom
updates #2745
2016-06-23score: use 64-bit watchdog intervalsGedare Bloom
updates #2732
2016-06-23cpukit/rtems: fix return type mismatch for _TOD_To_secondsGedare Bloom
2016-06-23posix: add clock_nanosleep and testsGedare Bloom
updates #2732
2016-06-23cpukit: Add and use Watchdog_Discipline.Gedare Bloom
Clock disciplines may be WATCHDOG_RELATIVE, WATCHDOG_ABSOLUTE, or WATCHDOG_NO_TIMEOUT. A discipline of WATCHDOG_RELATIVE with a timeout of WATCHDOG_NO_TIMEOUT is equivalent to a discipline of WATCHDOG_NO_TIMEOUT. updates #2732
2016-06-23sptests/sp42: Relax priority requirementsSebastian Huber
2016-06-23score: Fix EDF no-preempt thread handlingSebastian Huber
2016-06-23smptests/smpmrsp01: Fix due to API changesSebastian Huber
Commit 77ff5599e0d8e6d91190a379be21a332f83252b0 introduced a change in the rtems_semaphore_create() behaviour for MrsP semaphores. The ceiling priorities for all schedulers except the scheduler of the executing thread are initialized to zero.
2016-06-23bsp/atsam: Add I2C driverAlexander Krutwig
2016-06-22bsp/atsam: Fix QSPI driver APIAlexander Krutwig
We support read/write of arbitrary buffers.
2016-06-22score: Improve heap protectionAlexander Krutwig
Check block pointers of deferred free list before use.
2016-06-22score: Add thread priority to scheduler nodesSebastian Huber
The thread priority is manifest in two independent areas. One area is the user visible thread priority along with a potential thread queue. The other is the scheduler. Currently, a thread priority update via _Thread_Change_priority() first updates the user visble thread priority and the thread queue, then the scheduler is notified if necessary. The priority is passed to the scheduler via a local variable. A generation counter ensures that the scheduler discards out-of-date priorities. This use of a local variable ties the update in these two areas close together. For later enhancements and the OMIP locking protocol implementation we need more flexibility. Add a thread priority information block to Scheduler_Node and synchronize priority value updates via a sequence lock on SMP configurations. Update #2556.
2016-06-22score: Move _RBTree_Find()Sebastian Huber
The _RBTree_Find() is no longer used in the score. Move it to sapi and make it rtems_rbtree_find(). Move corresponding types and support functions to sapi.
2016-06-22score: Move _RBTree_Insert()Sebastian Huber
The _RBTree_Insert() is no longer used in the score. Move it to sapi and make it rtems_rbtree_insert().
2016-06-22score: Rework EDF schedulerSebastian Huber
Use inline red-black tree insert. Do not use shifting priorities since this is not supported by the thread queues. Due to the 32-bit Priority_Control this currently limits the uptime to 49days with a 1ms clock tick. Update #2173.
2016-06-22score: Modify release job scheduler operationSebastian Huber
Pass the deadline in watchdog ticks to the scheduler. Update #2173.
2016-06-22score: Remove hidden deadline overrule for CBSSebastian Huber
Do what the user commands. Maybe we should add a rtems_cbs_period() that calls rtems_rate_monotonic_period() with the right parameter. Update #2173.
2016-06-22score: Introduce map priority scheduler operationSebastian Huber
Introduce map/unmap priority scheduler operations to map thread priority values from/to the user domain to/from the scheduler domain. Use the map priority operation to validate the thread priority. The EDF schedulers use this new operation to distinguish between normal priorities and priorities obtain through a job release. Update #2173. Update #2556.
2016-06-22score: Delete unused _Scheduler_Priority_compare()Sebastian Huber
By convention, thread priorities must be integers in RTEMS. Smaller values represent more important threads.
2016-06-22rtems: Rework RTEMS API to SuperCore prioritySebastian Huber
Use same structure as POSIX API for thread priority conversion to/from SuperCore.
2016-06-22posix: Generalize _POSIX_Priority_To_core()Sebastian Huber
Move POSIX API priority validation into _POSIX_Priority_To_core().
2016-06-22posix: Make POSIX API aware of scheduler instancesSebastian Huber
2016-06-22posix: Rework sporadic server scheduling policySebastian Huber
Instead of lowering the priority in case the initial budget is consumed raise the priority for each new period. Restore the normal priority once the initial budget is consumed. This makes it later easier to combine the high priority phase with temporary priority boosts (e.g. via priority ceiling and inheritance). Use the thread lock to protect the POSIX thread attributes instead of the thread state lock. This makes it easier to change the thread priority and keep the POSIX attributes consistent. Fixes a false positive use of uninitialized variable warning.
2016-06-22posix: Delete POSIX_API_Control::schedparamSebastian Huber
This field was redundant.
2016-06-22posix: Delete POSIX_API_Control::schedpolicySebastian Huber
This field was redundant.
2016-06-22posix: Delete POSIX_API_Control::ss_high_prioritySebastian Huber
This field was unused.
2016-06-22posix: _POSIX_Mutex_Default_attributesSebastian Huber
Make _POSIX_Mutex_Default_attributes constant and independent of the scheduler instance. Use INT_MAX to indicate the default ceiling priority.
2016-06-22posix: pthread_mutexattr_setprioceiling()Sebastian Huber
Accept all priority values in pthread_mutexattr_setprioceiling(). This is in line with POSIX and FreeBSD. The priority is validated in pthread_mutex_init(). Validate the priority only for priority ceiling mutexes.
2016-06-22sparc: Optimize CPU counter supportSebastian Huber
2016-06-22sptests/sp20: Use printer taskSebastian Huber
This avoids test failures due to slow output devices.
2016-06-22Add printer taskSebastian Huber
2016-06-22Rename rtems_test_print() into rtems_test_printf()Sebastian Huber
2016-06-22Avoid <rtems/print.h> in <rtems/rtems/ratemon.h>Sebastian Huber
This gets rid of the pull in of <stdarg.h> via <rtems.h> via <rtems/rtems/ratemon.h> via <rtems/print.h>.
2016-06-22Move printer initialization to separate headerSebastian Huber
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-22Make rtems/print.h independent of rtems/bspIo.hSebastian Huber
2016-06-22Rename and move RTEMS_PRINTF_ATTRIBUTE()Sebastian Huber
Rename RTEMS_PRINTF_ATTRIBUTE() into RTEMS_PRINTFLIKE() (similar to <sys/cdefs.h> __printflike()) and move it to <rtems/score/basedefs.h>.
2016-06-22Make rtems_fprintf_plugin() staticSebastian Huber
2016-06-22Make rtems_printf_plugin() staticSebastian Huber
2016-06-22Make printk_plugin() staticSebastian Huber
2016-06-21bsp/tms570: regenerate preinstall makefile by bootstrap -p.Pavel Pisa
2016-06-21bsp/tms570: include complete peripheral initialization to SCI driver.Pavel Pisa
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
2016-06-21bsp/tms570: update pinmux to provide support for initialization lists and ↵Pavel Pisa
clear of alt outputs.
2016-06-21bsp/tms570: include package balls and PINMMR registers mapping for ↵Pavel Pisa
TMS570LS3135ZWT chip.
2016-06-21bsp/leon3: Add up counter timecounterSebastian Huber
2016-06-21bsp/leon3: Fix interrupt timestampingSebastian Huber
Close #2684.
2016-06-21sparc: Rework CPU counter supportSebastian Huber
Rework CPU counter support to enable use of the GR740 up-counter via %asr22 and %asr23.
2016-06-21bsp/leon3: Fix LEON3_Cpu_Index initializationSebastian Huber
2016-06-21sptests/spcpucounter01: Resurrect workaroundSebastian Huber
Resurrect workaround accidentially removed by 3e2a3c49480b9888362d016dd202edd562d9e069.
2016-06-20arm/raspberrypi: Ensure that buffers used for VC mail box communication are ↵Pavel Pisa
synchronized through cache.