Sebastian Huber
3d9fd2ce55
sptests/sp20: Use printer task
...
This avoids test failures due to slow output devices.
2016-06-22 07:45:49 +02:00
Sebastian Huber
22c3a54b8b
Add printer task
2016-06-22 07:45:49 +02:00
Sebastian Huber
f153157410
Rename rtems_test_print() into rtems_test_printf()
2016-06-22 07:45:48 +02:00
Sebastian Huber
a33bfb6cb1
Avoid <rtems/print.h> in <rtems/rtems/ratemon.h>
...
This gets rid of the pull in of <stdarg.h> via <rtems.h> via
<rtems/rtems/ratemon.h> via <rtems/print.h>.
2016-06-22 07:45:12 +02:00
Sebastian Huber
506bfc8580
Move printer initialization to separate header
...
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-22 07:29:26 +02:00
Sebastian Huber
ede1a4182d
Make rtems/print.h independent of rtems/bspIo.h
2016-06-22 07:29:26 +02:00
Sebastian Huber
e8020d1914
Rename and move RTEMS_PRINTF_ATTRIBUTE()
...
Rename RTEMS_PRINTF_ATTRIBUTE() into RTEMS_PRINTFLIKE() (similar to
<sys/cdefs.h> __printflike()) and move it to <rtems/score/basedefs.h>.
2016-06-22 07:29:26 +02:00
Sebastian Huber
5c370a5df4
Make rtems_fprintf_plugin() static
2016-06-22 07:29:26 +02:00
Sebastian Huber
1ce8fc32c3
Make rtems_printf_plugin() static
2016-06-22 07:29:26 +02:00
Sebastian Huber
97fd93c23e
Make printk_plugin() static
2016-06-22 07:29:25 +02:00
Pavel Pisa
91043bfa91
bsp/tms570: regenerate preinstall makefile by bootstrap -p.
2016-06-21 22:20:17 +02:00
Pavel Pisa
8df196f704
bsp/tms570: include complete peripheral initialization to SCI driver.
...
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz >
2016-06-21 22:20:17 +02:00
Pavel Pisa
6626efe6f0
bsp/tms570: update pinmux to provide support for initialization lists and clear of alt outputs.
2016-06-21 22:20:17 +02:00
Pavel Pisa
bc884f6538
bsp/tms570: include package balls and PINMMR registers mapping for TMS570LS3135ZWT chip.
2016-06-21 22:20:16 +02:00
Sebastian Huber
a4ff2a2a4b
bsp/leon3: Add up counter timecounter
2016-06-21 15:54:18 +02:00
Sebastian Huber
291945f137
bsp/leon3: Fix interrupt timestamping
...
Close #2684 .
2016-06-21 15:54:18 +02:00
Sebastian Huber
9460333e99
sparc: Rework CPU counter support
...
Rework CPU counter support to enable use of the GR740 up-counter via
%asr22 and %asr23.
2016-06-21 15:54:18 +02:00
Sebastian Huber
4c927c7900
bsp/leon3: Fix LEON3_Cpu_Index initialization
2016-06-21 15:54:18 +02:00
Sebastian Huber
7222a65f0e
sptests/spcpucounter01: Resurrect workaround
...
Resurrect workaround accidentially removed by
3e2a3c4948 .
2016-06-21 15:54:18 +02:00
Pavel Pisa
fa239ff26c
arm/raspberrypi: Ensure that buffers used for VC mail box communication are synchronized through cache.
2016-06-20 17:01:19 +02:00
Sebastian Huber
3e2a3c4948
sptests/spcpucounter01: Add some statistics
2016-06-20 13:56:34 +02:00
Sebastian Huber
40b80d86ef
bsp/leon3: Use sysinit for bsp_debug_uart_init()
2016-06-20 08:18:39 +02:00
Sebastian Huber
a4fa007be9
bsp/leon3: Use sysinit for amba_initialize()
2016-06-20 08:11:16 +02:00
Sebastian Huber
bc47ec1c99
score: Refine system initialization order
2016-06-20 08:11:16 +02:00
Sebastian Huber
6a6a22586b
sptests/spsysinit01: Move begin of test message
2016-06-20 08:11:16 +02:00
Sebastian Huber
16706b723f
bsps: Fix printk() format warning
2016-06-17 08:07:14 +02:00
Sebastian Huber
305231bd3c
bsps: Fix MPCI_Fatal() prototype
...
Close #2742 .
2016-06-17 08:04:25 +02:00
Joel Sherrill
6131b84908
Add pthread_condattr_getclock() and pthread_condattr_setclock()
...
updates #2608 .
2016-06-16 09:04:11 -05:00
Joel Sherrill
018cf74fda
mptests/mp03/task1.c: Make method static to fix warning
2016-06-16 09:03:23 -05:00
Joel Sherrill
07ac1735c8
samples/base_mp/apptask.c: Fix warning and clean up
2016-06-16 09:03:23 -05:00
Joel Sherrill
381b120acc
libchip/shmdr/send.c: Fix warning and clean up
2016-06-16 09:03:22 -05:00
Joel Sherrill
82cb100aba
libchip/shmdr/poll.c: Fix warning and clean up
2016-06-16 09:03:22 -05:00
Joel Sherrill
4788a074a5
mvme147s/shmsupp/mpisr.c: Fix warnings and clean up
2016-06-16 09:03:22 -05:00
Joel Sherrill
d5ff139894
mvme147s/shmsupp/getcfg.c: Fix warning
2016-06-16 09:03:22 -05:00
Sebastian Huber
4b3251adda
score: Fix thread delete race condition on SMP
2016-06-16 12:46:48 +02:00
Sebastian Huber
57c676c626
rtems: Fix rtems_semaphore_create()
...
Destroy the thread queue in case of a priority ceiling violation,
otherwise the SMP profiling data gets corrupted.
2016-06-16 10:44:00 +02:00
Sebastian Huber
661e0e6377
psxtests/psx12: Use and print proper rounded ms
...
Update #2738 .
2016-06-15 11:21:04 +02:00
Sebastian Huber
917884c408
posix: Fix poradic server initial CPU budget
...
Update #2738 .
2016-06-15 10:43:34 +02:00
Sebastian Huber
d6467102e2
psxtests/psx12: Use one file and simplify
2016-06-15 09:11:19 +02:00
Sebastian Huber
5d65d0ddaf
posix: Use _POSIX_Threads_Sporadic_timer_insert()
2016-06-15 08:55:18 +02:00
Sebastian Huber
d07f582565
posix: Remove superfluous code
...
Remove double declarations, useless comments and unused functions.
2016-06-15 08:05:35 +02:00
Sebastian Huber
6a631daeb8
posix: sched_get_priority_max()
...
Enable for all configurations since it pulls in no additional
dependencies. Return value of the scheduler instance of the executing
thread.
2016-06-14 11:58:03 +02:00
Sebastian Huber
ea02782abc
posix: sched_get_priority_min()
...
Enable for all configurations since it pulls in no additional
dependencies.
2016-06-14 11:58:02 +02:00
Sebastian Huber
b61d5cac7c
bsps: Add CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR
...
Add CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR clock driver option. If
defined, then do the clock tick processing on the boot processor on
behalf of all other processors. Currently, this is intended as a
workaround for a Qemu shortcoming on ARM.
Update #2737 .
2016-06-14 11:57:48 +02:00
Sebastian Huber
042072bfdf
score: _Scheduler_priority_Ready_queue_initialize
...
Use priority maximum of scheduler instance. This avoids a potential
memory corruption on SMP configurations.
2016-06-14 11:57:47 +02:00
Sebastian Huber
3eda7e5493
score: _Thread_Create_idle_for_CPU()
...
Use priority maximum of scheduler instance.
2016-06-14 11:57:37 +02:00
Sebastian Huber
0c34dbf341
posix: Add pthread_setschedprio()
...
Close #2734 .
2016-06-13 15:38:14 +02:00
Sebastian Huber
fc30ac5973
posix: Fix pthread_setschedparam()
...
Close #2735 .
2016-06-13 15:19:50 +02:00
Sebastian Huber
23b1bb38b2
posix: Fix pthread_getschedparam()
...
Return the unmodified thread priority value according to POSIX.
Close #2736 .
2016-06-13 14:56:21 +02:00
Sebastian Huber
a0cd238d2b
bsp/qoriq: Increase reserved size for FDT
...
Some boards require this size.
2016-06-13 13:42:02 +02:00