Sebastian Huber
e3ef14b1a6
smptests: Remove duplicate Makefile targets
...
Close #3187 .
2017-10-25 07:59:20 +02:00
Sebastian Huber
0ddffb766c
confdefs: CONFIGURE_MICROSECONDS_PER_TICK
...
Reject non-positive CONFIGURE_MICROSECONDS_PER_TICK values.
2017-10-25 07:26:41 +02:00
Sebastian Huber
34799c3bc1
rtems: rtems_clock_get_ticks_per_second()
...
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-25 07:26:37 +02:00
Chris Johns
4c701106fa
testsuite: Fix build
...
Updates #3170 .
2017-10-25 08:32:53 +11:00
Sebastian Huber
c310589474
score: Move thread queue timeout handling
...
Update #3117 .
Update #3182 .
2017-10-24 10:19:05 +02:00
Sebastian Huber
1666ffe535
score: Rename function threadq support function
...
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-24 09:37:28 +02:00
Sebastian Huber
6de1f92121
score: Add _Thread_Continue()
...
Update #3117 .
Update #3182 .
2017-10-24 09:37:28 +02:00
Sebastian Huber
5747962909
score: _Watchdog_Per_CPU_lazy_insert_monotonic()
...
Update #3117 .
Update #3182 .
2017-10-24 09:37:28 +02:00
Sebastian Huber
b13ec80476
score: Add _Watchdog_Monotonic_from_timespec()
...
Update #3117 .
Update #3182 .
2017-10-24 09:37:28 +02:00
Sebastian Huber
cea5ff7001
score: Add _Watchdog_Nanoseconds_per_tick
...
Move it from the configuration to a separate variable.
Update #3117 .
Update #3182 .
2017-10-24 09:37:28 +02:00
Sebastian Huber
7ed377bc69
score: _Watchdog_Is_far_future_monotonic_timespec
...
Update #3117 .
Update #3182 .
2017-10-24 09:37:28 +02:00
Sebastian Huber
d16d07fbb8
score: Add _Watchdog_Is_valid_interval_timespec()
...
Update #3117 .
Update #3182 .
2017-10-24 09:37:27 +02:00
Sebastian Huber
adaf5c232e
score: _Watchdog_Is_far_future_realtime_timespec()
...
Update #3117 .
Update #3182 .
2017-10-24 09:37:27 +02:00
Sebastian Huber
ecef369875
score: Rename _Watchdog_Ticks_from_*()
...
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-24 09:37:27 +02:00
Sebastian Huber
381ef5c833
confdefs: Warn about problematic ticks per second
...
A non-integer clock ticks per second value may lead to inaccurate time
format conversions.
Update #3117 .
Update #3182 .
2017-10-24 09:37:27 +02:00
Sebastian Huber
e0dc6efcf0
rtems: Simplify RTEMS_MILLISECONDS_TO_MICROSECONDS
...
Remove the cast so that it can be used in C pre-processor directives.
Update #3117 .
Update #3182 .
2017-10-24 09:37:27 +02:00
Sebastian Huber
27cfe7c86b
score: Add _Watchdog_Ticks_per_second
...
This value is frequently used. Avoid the function call overhead and the
integer division at run-time.
Update #3117 .
Update #3182 .
2017-10-24 09:37:22 +02:00
Sebastian Huber
028786263f
score: Add _Thread_Add_timeout_ticks()
...
Replace _Thread_Timer_insert_monotonic() with
_Thread_Add_timeout_ticks().
Update #3117 .
Update #3182 .
2017-10-24 09:29:59 +02:00
Sebastian Huber
d85c94c0d2
psxclockrealtime01: New test
...
Update #3182 .
2017-10-24 09:29:59 +02:00
Sebastian Huber
a0d0910765
posix: Do not touch msg priority in case of error
2017-10-24 09:29:59 +02:00
Sebastian Huber
0e1ad7fa58
tmtests/tmfine01: Reduce test context size
...
Reduce test context size in non-SMP configurations.
Close #3200 .
2017-10-24 09:27:06 +02:00
Sebastian Huber
88e84c2236
testsuite: Fix build
...
Updates #3170 .
2017-10-23 13:49:22 +02:00
Chris Johns
36d974ba4e
testsuite: Remove warnings.
2017-10-23 16:25:45 +11:00
Chris Johns
98c6d50145
testsuite: Use printk for all test output where possible.
...
- 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 .
2017-10-23 16:25:45 +11:00
Sebastian Huber
eeb8d8387f
posix: Fix POSIX disabled build
...
Update #2514 .
2017-10-23 07:13:12 +02:00
Sebastian Huber
a05861d471
libtests/tar01: Fix build dependencies
2017-10-21 12:17:23 +02:00
Sebastian Huber
6d6f6a2007
score: Fix warning
2017-10-21 10:44:58 +02:00
Sebastian Huber
dbb30e2607
posix: Fix POSIX disabled build
...
Update #2514 .
2017-10-18 09:17:32 +02:00
Christian Mauderer
248f8679a7
bsps/arm: Remove DWT based clock.
...
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.
2017-10-18 09:02:01 +02:00
Christian Mauderer
205d8d71a6
sptests/sptimecounter04: New test
...
Ensure that the time flow of CLOCK_REALTIME and CLOCK_MONOTONIC is close to
the clock driver ticks time flow.
2017-10-18 09:01:57 +02:00
Sebastian Huber
6087f33e31
tmtests/tmfine01: Add test cases
...
Update #2674 .
Update #3112 .
Update #3113 .
Update #3114 .
Update #3115 .
2017-10-18 08:50:17 +02:00
Sebastian Huber
67015b617e
dev/serial: Lazy update of NS16550 settings
...
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 .
2017-10-18 07:21:54 +02:00
Sebastian Huber
37eb717f90
posix: Simplify _POSIX_Threads_Create_extension()
...
Move unblocked signals initialization to pthread_create().
Update #2514 .
2017-10-17 12:10:31 +02:00
Sebastian Huber
3f3f42482d
posix: Remove POSIX_API_Control::schedparam
...
Move sporadic server scheduler parameters to
POSIX_API_Control::Sporadic. Remove redundant scheduler priority
parameter.
Update #2514 .
2017-10-17 11:10:00 +02:00
Sebastian Huber
2be22d4f64
posix: Move POSIX_API_Control::thread
...
This member is only used by the sporadic server support.
Update #2514 .
2017-10-17 10:21:03 +02:00
Sebastian Huber
2fcea4c473
posix: Fix _POSIX_Threads_Create_extension()
...
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().
2017-10-17 10:12:10 +02:00
Sebastian Huber
91ce012ced
score: Rename _Watchdog_Per_CPU_insert_monotonic()
...
Rename _Watchdog_Per_CPU_insert_monotonic() in
_Watchdog_Per_CPU_insert_ticks().
Update #3117 .
Update #3182 .
2017-10-17 08:15:40 +02:00
Sebastian Huber
bf2a53d272
score: Rename watchdog variants
...
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 .
2017-10-17 08:15:40 +02:00
Pavel Pisa
f4009d8b8e
bsp/tms570: remove duplicate of TMS570_SCI_FLR_TX_EMPTY in console driver.
...
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 .
2017-10-13 01:02:33 +02:00
Joel Sherrill
6ba029548c
spthreadq01/init.c: Fix unused variable warnings
2017-10-12 12:56:24 -05:00
Joel Sherrill
05ec32aa56
lpc2362-testsuite.tcfg: Add fsrofs01 to excluded tests
2017-10-12 12:23:26 -05:00
Chris Johns
addeb53a64
doxygen: Set the Latex generation default to NO.
...
Closes #3130 .
2017-10-12 08:49:37 -07:00
Sebastian Huber
6c99abd14f
score: Remove unused function declaration
2017-10-12 11:42:45 +02:00
Sebastian Huber
ee537ea3dd
ada-tests: Move to testsuites/ada
...
This solves a build dependency issue, e.g. building tests before
librtemsbsp.a exists.
Close #3079 .
2017-10-12 10:53:16 +02:00
Sebastian Huber
b3874e1531
ada-tests: Use _SUBDIRS instead of SUBDIRS
...
Update #3079 .
2017-10-12 09:04:17 +02:00
Christian Mauderer
16fcd56a42
bsp/atsam: Allow to change optimization settings.
...
Allow to overwrite the optimization settings during configuration.
2017-10-12 08:59:22 +02:00
Christian Mauderer
2ae0acbb71
bsp/atsam: Add bsp_restart.
2017-10-12 08:59:22 +02:00
Sebastian Huber
16db540a59
Use right time format in _times()
...
Update #2740 .
Close #3179 .
2017-10-12 07:24:44 +02:00
Sebastian Huber
5850054098
posix: Fix const qualifier warning
...
Update #2514 .
Update #3179 .
2017-10-12 07:18:28 +02:00
Sebastian Huber
9c0cefbfa5
confdefs: Add warnings for obsolete options
...
Update #2674 .
Close #3112 .
Close #3113 .
Close #3114 .
Close #3115 .
Close #3116 .
2017-10-12 07:13:38 +02:00