summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* score: Introduce map priority scheduler operationSebastian Huber2016-06-2236-84/+573
| | | | | | | | | | | 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.
* score: Delete unused _Scheduler_Priority_compare()Sebastian Huber2016-06-2218-194/+37
| | | | | By convention, thread priorities must be integers in RTEMS. Smaller values represent more important threads.
* rtems: Rework RTEMS API to SuperCore prioritySebastian Huber2016-06-2213-118/+226
| | | | | Use same structure as POSIX API for thread priority conversion to/from SuperCore.
* posix: Generalize _POSIX_Priority_To_core()Sebastian Huber2016-06-227-32/+44
| | | | Move POSIX API priority validation into _POSIX_Priority_To_core().
* posix: Make POSIX API aware of scheduler instancesSebastian Huber2016-06-2210-93/+91
|
* posix: Rework sporadic server scheduling policySebastian Huber2016-06-229-193/+254
| | | | | | | | | | | | | | 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.
* posix: Delete POSIX_API_Control::schedparamSebastian Huber2016-06-227-14/+16
| | | | This field was redundant.
* posix: Delete POSIX_API_Control::schedpolicySebastian Huber2016-06-226-10/+4
| | | | This field was redundant.
* posix: Delete POSIX_API_Control::ss_high_prioritySebastian Huber2016-06-222-9/+0
| | | | This field was unused.
* posix: _POSIX_Mutex_Default_attributesSebastian Huber2016-06-228-39/+50
| | | | | | Make _POSIX_Mutex_Default_attributes constant and independent of the scheduler instance. Use INT_MAX to indicate the default ceiling priority.
* posix: pthread_mutexattr_setprioceiling()Sebastian Huber2016-06-224-30/+34
| | | | | | | 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.
* sparc: Optimize CPU counter supportSebastian Huber2016-06-228-53/+104
|
* sptests/sp20: Use printer taskSebastian Huber2016-06-224-46/+88
| | | | This avoids test failures due to slow output devices.
* Add printer taskSebastian Huber2016-06-223-0/+310
|
* Rename rtems_test_print() into rtems_test_printf()Sebastian Huber2016-06-222-2/+2
|
* Avoid <rtems/print.h> in <rtems/rtems/ratemon.h>Sebastian Huber2016-06-221-2/+3
| | | | | This gets rid of the pull in of <stdarg.h> via <rtems.h> via <rtems/rtems/ratemon.h> via <rtems/print.h>.
* Move printer initialization to separate headerSebastian Huber2016-06-2227-94/+153
| | | | | | 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>.
* Make rtems/print.h independent of rtems/bspIo.hSebastian Huber2016-06-2214-20/+29
|
* Rename and move RTEMS_PRINTF_ATTRIBUTE()Sebastian Huber2016-06-225-17/+23
| | | | | Rename RTEMS_PRINTF_ATTRIBUTE() into RTEMS_PRINTFLIKE() (similar to <sys/cdefs.h> __printflike()) and move it to <rtems/score/basedefs.h>.
* Make rtems_fprintf_plugin() staticSebastian Huber2016-06-222-14/+1
|
* Make rtems_printf_plugin() staticSebastian Huber2016-06-222-19/+6
|
* Make printk_plugin() staticSebastian Huber2016-06-222-20/+9
|
* bsp/tms570: regenerate preinstall makefile by bootstrap -p.Pavel Pisa2016-06-211-0/+8
|
* bsp/tms570: include complete peripheral initialization to SCI driver.Pavel Pisa2016-06-211-2/+36
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* bsp/tms570: update pinmux to provide support for initialization lists and ↵Pavel Pisa2016-06-214-69/+196
| | | | clear of alt outputs.
* bsp/tms570: include package balls and PINMMR registers mapping for ↵Pavel Pisa2016-06-212-0/+700
| | | | TMS570LS3135ZWT chip.
* bsp/leon3: Add up counter timecounterSebastian Huber2016-06-212-7/+36
|
* bsp/leon3: Fix interrupt timestampingSebastian Huber2016-06-211-20/+35
| | | | Close #2684.
* sparc: Rework CPU counter supportSebastian Huber2016-06-2110-97/+208
| | | | | Rework CPU counter support to enable use of the GR740 up-counter via %asr22 and %asr23.
* bsp/leon3: Fix LEON3_Cpu_Index initializationSebastian Huber2016-06-213-4/+14
|
* sptests/spcpucounter01: Resurrect workaroundSebastian Huber2016-06-211-2/+21
| | | | | Resurrect workaround accidentially removed by 3e2a3c49480b9888362d016dd202edd562d9e069.
* arm/raspberrypi: Ensure that buffers used for VC mail box communication are ↵Pavel Pisa2016-06-202-7/+56
| | | | synchronized through cache.
* sptests/spcpucounter01: Add some statisticsSebastian Huber2016-06-203-50/+229
|
* bsp/leon3: Use sysinit for bsp_debug_uart_init()Sebastian Huber2016-06-203-7/+8
|
* bsp/leon3: Use sysinit for amba_initialize()Sebastian Huber2016-06-203-8/+8
|
* score: Refine system initialization orderSebastian Huber2016-06-202-3/+49
|
* sptests/spsysinit01: Move begin of test messageSebastian Huber2016-06-201-2/+7
|
* bsps: Fix printk() format warningSebastian Huber2016-06-171-1/+1
|
* bsps: Fix MPCI_Fatal() prototypeSebastian Huber2016-06-172-4/+4
| | | | Close #2742.
* Add pthread_condattr_getclock() and pthread_condattr_setclock()Joel Sherrill2016-06-169-2/+257
| | | | updates #2608.
* mptests/mp03/task1.c: Make method static to fix warningJoel Sherrill2016-06-161-1/+1
|
* samples/base_mp/apptask.c: Fix warning and clean upJoel Sherrill2016-06-161-12/+11
|
* libchip/shmdr/send.c: Fix warning and clean upJoel Sherrill2016-06-161-15/+21
|
* libchip/shmdr/poll.c: Fix warning and clean upJoel Sherrill2016-06-161-5/+8
|
* mvme147s/shmsupp/mpisr.c: Fix warnings and clean upJoel Sherrill2016-06-161-12/+10
|
* mvme147s/shmsupp/getcfg.c: Fix warningJoel Sherrill2016-06-161-1/+1
|
* score: Fix thread delete race condition on SMPSebastian Huber2016-06-161-6/+17
|
* rtems: Fix rtems_semaphore_create()Sebastian Huber2016-06-161-0/+4
| | | | | Destroy the thread queue in case of a priority ceiling violation, otherwise the SMP profiling data gets corrupted.
* psxtests/psx12: Use and print proper rounded msSebastian Huber2016-06-152-21/+26
| | | | Update #2738.
* posix: Fix poradic server initial CPU budgetSebastian Huber2016-06-155-24/+118
| | | | Update #2738.