summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* leon,gr740: start ASR22:23 up-counter on boot by writing ASR22Daniel Hellstrom2017-10-251-1/+1
| | | | | | According to data sheet bit 31 in ASR22 must be written with a zero to start the up-counter. GRMON starts the up-counter for us. This patch is important when running in "flight" from ROM without GRMON.
* smptests: Remove duplicate Makefile targetsSebastian Huber2017-10-251-2/+0
| | | | Close #3187.
* confdefs: CONFIGURE_MICROSECONDS_PER_TICKSebastian Huber2017-10-251-0/+4
| | | | Reject non-positive CONFIGURE_MICROSECONDS_PER_TICK values.
* rtems: rtems_clock_get_ticks_per_second()Sebastian Huber2017-10-253-0/+8
| | | | | | | 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).
* testsuite: Fix buildChris Johns2017-10-251-0/+2
| | | | Updates #3170.
* score: Move thread queue timeout handlingSebastian Huber2017-10-2450-878/+640
| | | | | Update #3117. Update #3182.
* score: Rename function threadq support functionSebastian Huber2017-10-2419-26/+23
| | | | | | | | | 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.
* score: Add _Thread_Continue()Sebastian Huber2017-10-242-10/+33
| | | | | Update #3117. Update #3182.
* score: _Watchdog_Per_CPU_lazy_insert_monotonic()Sebastian Huber2017-10-241-0/+25
| | | | | Update #3117. Update #3182.
* score: Add _Watchdog_Monotonic_from_timespec()Sebastian Huber2017-10-241-0/+16
| | | | | Update #3117. Update #3182.
* score: Add _Watchdog_Nanoseconds_per_tickSebastian Huber2017-10-244-10/+15
| | | | | | | Move it from the configuration to a separate variable. Update #3117. Update #3182.
* score: _Watchdog_Is_far_future_monotonic_timespecSebastian Huber2017-10-244-0/+20
| | | | | Update #3117. Update #3182.
* score: Add _Watchdog_Is_valid_interval_timespec()Sebastian Huber2017-10-241-0/+7
| | | | | Update #3117. Update #3182.
* score: _Watchdog_Is_far_future_realtime_timespec()Sebastian Huber2017-10-241-9/+32
| | | | | Update #3117. Update #3182.
* score: Rename _Watchdog_Ticks_from_*()Sebastian Huber2017-10-246-9/+9
| | | | | | | | | | 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.
* confdefs: Warn about problematic ticks per secondSebastian Huber2017-10-241-0/+4
| | | | | | | | A non-integer clock ticks per second value may lead to inaccurate time format conversions. Update #3117. Update #3182.
* rtems: Simplify RTEMS_MILLISECONDS_TO_MICROSECONDSSebastian Huber2017-10-241-1/+1
| | | | | | | Remove the cast so that it can be used in C pre-processor directives. Update #3117. Update #3182.
* score: Add _Watchdog_Ticks_per_secondSebastian Huber2017-10-244-4/+19
| | | | | | | | This value is frequently used. Avoid the function call overhead and the integer division at run-time. Update #3117. Update #3182.
* score: Add _Thread_Add_timeout_ticks()Sebastian Huber2017-10-244-20/+8
| | | | | | | | Replace _Thread_Timer_insert_monotonic() with _Thread_Add_timeout_ticks(). Update #3117. Update #3182.
* psxclockrealtime01: New testSebastian Huber2017-10-246-0/+700
| | | | Update #3182.
* posix: Do not touch msg priority in case of errorSebastian Huber2017-10-241-4/+4
|
* tmtests/tmfine01: Reduce test context sizeSebastian Huber2017-10-241-0/+4
| | | | | | Reduce test context size in non-SMP configurations. Close #3200.
* testsuite: Fix buildSebastian Huber2017-10-231-0/+2
| | | | Updates #3170.
* testsuite: Remove warnings.Chris Johns2017-10-231-17/+18
|
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-23555-342/+1349
| | | | | | | | | | - Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
* posix: Fix POSIX disabled buildSebastian Huber2017-10-231-1/+4
| | | | Update #2514.
* libtests/tar01: Fix build dependenciesSebastian Huber2017-10-211-2/+7
|
* score: Fix warningSebastian Huber2017-10-211-1/+1
|
* posix: Fix POSIX disabled buildSebastian Huber2017-10-181-0/+4
| | | | Update #2514.
* bsps/arm: Remove DWT based clock.Christian Mauderer2017-10-181-30/+7
| | | | | | | | | | | It seems that the DWT CYCCNT does not advance when the CPU waits on a WFI instruction. That leads to the effect that for example on the atsamv BSP a sleep(1) needs something in the range of a few minutes (depending on the configured systick). A debugger might disables some deep sleep modes so that the problem only appears if the application is executed without a debugger.
* sptests/sptimecounter04: New testChristian Mauderer2017-10-186-0/+119
| | | | | Ensure that the time flow of CLOCK_REALTIME and CLOCK_MONOTONIC is close to the clock driver ticks time flow.
* tmtests/tmfine01: Add test casesSebastian Huber2017-10-183-2119/+4188
| | | | | | | | Update #2674. Update #3112. Update #3113. Update #3114. Update #3115.
* dev/serial: Lazy update of NS16550 settingsSebastian Huber2017-10-182-3/+13
| | | | | | | | Updates of the line control and baud divisor while transfers are in progress may lead to unpredictable behaviour on some chips. Perform the updates only if necessary. Close #3198.
* posix: Simplify _POSIX_Threads_Create_extension()Sebastian Huber2017-10-172-17/+4
| | | | | | Move unblocked signals initialization to pthread_create(). Update #2514.
* posix: Remove POSIX_API_Control::schedparamSebastian Huber2017-10-179-36/+81
| | | | | | | | Move sporadic server scheduler parameters to POSIX_API_Control::Sporadic. Remove redundant scheduler priority parameter. Update #2514.
* posix: Move POSIX_API_Control::threadSebastian Huber2017-10-172-5/+5
| | | | | | This member is only used by the sporadic server support. Update #2514.
* posix: Fix _POSIX_Threads_Create_extension()Sebastian Huber2017-10-173-2/+10
| | | | | | The thread POSIX API control must be fully initialized in _POSIX_Threads_Create_extension(), otherwise a pthread_setschedparam() is broken for all threads not created with pthread_create().
* score: Rename _Watchdog_Per_CPU_insert_monotonic()Sebastian Huber2017-10-176-6/+6
| | | | | | | | Rename _Watchdog_Per_CPU_insert_monotonic() in _Watchdog_Per_CPU_insert_ticks(). Update #3117. Update #3182.
* score: Rename watchdog variantsSebastian Huber2017-10-1723-56/+60
| | | | | | | | | | | Rename PER_CPU_WATCHDOG_RELATIVE in PER_CPU_WATCHDOG_MONOTONIC to highlight the corresponding POSIX CLOCK_MONOTONIC. Rename PER_CPU_WATCHDOG_ABSOLUTE in PER_CPU_WATCHDOG_REALTIME to highlight the corresponding POSIX CLOCK_REALTIME. Update #3117. Update #3182.
* bsp/tms570: remove duplicate of TMS570_SCI_FLR_TX_EMPTY in console driver.Pavel Pisa2017-10-131-1/+7
| | | | | | | | Initial idea has been that check for both, TMS570_SCI_FLR_TX_EMPTY and TMS570_SCI_FLR_TXRDY is required before console driver parameters update. closes #2883.
* spthreadq01/init.c: Fix unused variable warningsJoel Sherrill2017-10-121-3/+0
|
* lpc2362-testsuite.tcfg: Add fsrofs01 to excluded testsJoel Sherrill2017-10-121-0/+1
|
* doxygen: Set the Latex generation default to NO.Chris Johns2017-10-121-1/+1
| | | | Closes #3130.
* score: Remove unused function declarationSebastian Huber2017-10-121-15/+0
|
* ada-tests: Move to testsuites/adaSebastian Huber2017-10-12522-259/+259
| | | | | | | This solves a build dependency issue, e.g. building tests before librtemsbsp.a exists. Close #3079.
* ada-tests: Use _SUBDIRS instead of SUBDIRSSebastian Huber2017-10-1219-87/+87
| | | | Update #3079.
* bsp/atsam: Allow to change optimization settings.Christian Mauderer2017-10-121-2/+1
| | | | Allow to overwrite the optimization settings during configuration.
* bsp/atsam: Add bsp_restart.Christian Mauderer2017-10-123-0/+42
|
* Use right time format in _times()Sebastian Huber2017-10-121-9/+5
| | | | | Update #2740. Close #3179.
* posix: Fix const qualifier warningSebastian Huber2017-10-121-2/+4
| | | | | Update #2514. Update #3179.