Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | score: Introduce map priority scheduler operation | Sebastian Huber | 2016-06-22 | 36 | -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 Huber | 2016-06-22 | 18 | -194/+37 |
| | | | | | By convention, thread priorities must be integers in RTEMS. Smaller values represent more important threads. | ||||
* | rtems: Rework RTEMS API to SuperCore priority | Sebastian Huber | 2016-06-22 | 13 | -118/+226 |
| | | | | | Use same structure as POSIX API for thread priority conversion to/from SuperCore. | ||||
* | posix: Generalize _POSIX_Priority_To_core() | Sebastian Huber | 2016-06-22 | 7 | -32/+44 |
| | | | | Move POSIX API priority validation into _POSIX_Priority_To_core(). | ||||
* | posix: Make POSIX API aware of scheduler instances | Sebastian Huber | 2016-06-22 | 10 | -93/+91 |
| | |||||
* | posix: Rework sporadic server scheduling policy | Sebastian Huber | 2016-06-22 | 9 | -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::schedparam | Sebastian Huber | 2016-06-22 | 7 | -14/+16 |
| | | | | This field was redundant. | ||||
* | posix: Delete POSIX_API_Control::schedpolicy | Sebastian Huber | 2016-06-22 | 6 | -10/+4 |
| | | | | This field was redundant. | ||||
* | posix: Delete POSIX_API_Control::ss_high_priority | Sebastian Huber | 2016-06-22 | 2 | -9/+0 |
| | | | | This field was unused. | ||||
* | posix: _POSIX_Mutex_Default_attributes | Sebastian Huber | 2016-06-22 | 8 | -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 Huber | 2016-06-22 | 4 | -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 support | Sebastian Huber | 2016-06-22 | 8 | -53/+104 |
| | |||||
* | sptests/sp20: Use printer task | Sebastian Huber | 2016-06-22 | 4 | -46/+88 |
| | | | | This avoids test failures due to slow output devices. | ||||
* | Add printer task | Sebastian Huber | 2016-06-22 | 3 | -0/+310 |
| | |||||
* | Rename rtems_test_print() into rtems_test_printf() | Sebastian Huber | 2016-06-22 | 2 | -2/+2 |
| | |||||
* | Avoid <rtems/print.h> in <rtems/rtems/ratemon.h> | Sebastian Huber | 2016-06-22 | 1 | -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 header | Sebastian Huber | 2016-06-22 | 27 | -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.h | Sebastian Huber | 2016-06-22 | 14 | -20/+29 |
| | |||||
* | Rename and move RTEMS_PRINTF_ATTRIBUTE() | Sebastian Huber | 2016-06-22 | 5 | -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() static | Sebastian Huber | 2016-06-22 | 2 | -14/+1 |
| | |||||
* | Make rtems_printf_plugin() static | Sebastian Huber | 2016-06-22 | 2 | -19/+6 |
| | |||||
* | Make printk_plugin() static | Sebastian Huber | 2016-06-22 | 2 | -20/+9 |
| | |||||
* | bsp/tms570: regenerate preinstall makefile by bootstrap -p. | Pavel Pisa | 2016-06-21 | 1 | -0/+8 |
| | |||||
* | bsp/tms570: include complete peripheral initialization to SCI driver. | Pavel Pisa | 2016-06-21 | 1 | -2/+36 |
| | | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz> | ||||
* | bsp/tms570: update pinmux to provide support for initialization lists and ↵ | Pavel Pisa | 2016-06-21 | 4 | -69/+196 |
| | | | | clear of alt outputs. | ||||
* | bsp/tms570: include package balls and PINMMR registers mapping for ↵ | Pavel Pisa | 2016-06-21 | 2 | -0/+700 |
| | | | | TMS570LS3135ZWT chip. | ||||
* | bsp/leon3: Add up counter timecounter | Sebastian Huber | 2016-06-21 | 2 | -7/+36 |
| | |||||
* | bsp/leon3: Fix interrupt timestamping | Sebastian Huber | 2016-06-21 | 1 | -20/+35 |
| | | | | Close #2684. | ||||
* | sparc: Rework CPU counter support | Sebastian Huber | 2016-06-21 | 10 | -97/+208 |
| | | | | | Rework CPU counter support to enable use of the GR740 up-counter via %asr22 and %asr23. | ||||
* | bsp/leon3: Fix LEON3_Cpu_Index initialization | Sebastian Huber | 2016-06-21 | 3 | -4/+14 |
| | |||||
* | sptests/spcpucounter01: Resurrect workaround | Sebastian Huber | 2016-06-21 | 1 | -2/+21 |
| | | | | | Resurrect workaround accidentially removed by 3e2a3c49480b9888362d016dd202edd562d9e069. | ||||
* | arm/raspberrypi: Ensure that buffers used for VC mail box communication are ↵ | Pavel Pisa | 2016-06-20 | 2 | -7/+56 |
| | | | | synchronized through cache. | ||||
* | sptests/spcpucounter01: Add some statistics | Sebastian Huber | 2016-06-20 | 3 | -50/+229 |
| | |||||
* | bsp/leon3: Use sysinit for bsp_debug_uart_init() | Sebastian Huber | 2016-06-20 | 3 | -7/+8 |
| | |||||
* | bsp/leon3: Use sysinit for amba_initialize() | Sebastian Huber | 2016-06-20 | 3 | -8/+8 |
| | |||||
* | score: Refine system initialization order | Sebastian Huber | 2016-06-20 | 2 | -3/+49 |
| | |||||
* | sptests/spsysinit01: Move begin of test message | Sebastian Huber | 2016-06-20 | 1 | -2/+7 |
| | |||||
* | bsps: Fix printk() format warning | Sebastian Huber | 2016-06-17 | 1 | -1/+1 |
| | |||||
* | bsps: Fix MPCI_Fatal() prototype | Sebastian Huber | 2016-06-17 | 2 | -4/+4 |
| | | | | Close #2742. | ||||
* | Add pthread_condattr_getclock() and pthread_condattr_setclock() | Joel Sherrill | 2016-06-16 | 9 | -2/+257 |
| | | | | updates #2608. | ||||
* | mptests/mp03/task1.c: Make method static to fix warning | Joel Sherrill | 2016-06-16 | 1 | -1/+1 |
| | |||||
* | samples/base_mp/apptask.c: Fix warning and clean up | Joel Sherrill | 2016-06-16 | 1 | -12/+11 |
| | |||||
* | libchip/shmdr/send.c: Fix warning and clean up | Joel Sherrill | 2016-06-16 | 1 | -15/+21 |
| | |||||
* | libchip/shmdr/poll.c: Fix warning and clean up | Joel Sherrill | 2016-06-16 | 1 | -5/+8 |
| | |||||
* | mvme147s/shmsupp/mpisr.c: Fix warnings and clean up | Joel Sherrill | 2016-06-16 | 1 | -12/+10 |
| | |||||
* | mvme147s/shmsupp/getcfg.c: Fix warning | Joel Sherrill | 2016-06-16 | 1 | -1/+1 |
| | |||||
* | score: Fix thread delete race condition on SMP | Sebastian Huber | 2016-06-16 | 1 | -6/+17 |
| | |||||
* | rtems: Fix rtems_semaphore_create() | Sebastian Huber | 2016-06-16 | 1 | -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 ms | Sebastian Huber | 2016-06-15 | 2 | -21/+26 |
| | | | | Update #2738. | ||||
* | posix: Fix poradic server initial CPU budget | Sebastian Huber | 2016-06-15 | 5 | -24/+118 |
| | | | | Update #2738. |