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
Sebastian Huber
10670a5503
bsp/irq-server: Fix install/remove
...
Do not wait for the interrupt server while owning the allocator lock.
This could lead to deadlock in case one of interrupt service routines or
user extensions want to obtain the allocator mutex as well. Instead let
the interrupt server do the install/remove job entirely on behalf of the
requesting task.
2016-06-13 10:30:42 +02:00
Sebastian Huber
3bf9fdbe04
i386: Fix _CPU_Bitfield_Find_first_bit()
...
Bug introduced by b04b76c6a0 .
2016-06-13 09:47:34 +02:00
Sebastian Huber
7bf9c8bea7
score: Comment _Thread_queue_Enqueue_critical()
2016-06-09 15:14:19 +02:00
Sebastian Huber
251c94d3d3
confdefs.h: Do not hide network file systems
...
Do not hide network file systems if RTEMS_NETWORKING is not defined,
since they may be provided by the LibBSD.
2016-06-09 11:17:13 +02:00
Sebastian Huber
b94bbf1cb4
ftpfs: Remove superfluous include
2016-06-09 10:50:47 +02:00
Sebastian Huber
89f627b56b
bsps/powerpc: Update to RTEMS printer changes
2016-06-09 09:39:18 +02:00
Sebastian Huber
05b7eec276
score: Add an SMP sequence lock implementation
2016-06-09 09:39:14 +02:00
Sebastian Huber
80bbb4eda3
score: Use builtin for _Bitfield_Find_first_bit()
...
In case the CPU architecture provides no specialized
_CPU_Bitfield_Find_first_bit() macro, then use the __builtin_clz()
builtin in case __GNUC__ is defined.
2016-06-08 15:48:03 +02:00
Sebastian Huber
b8a84064ac
score: Inline _Bitfield_Find_first_bit()
...
Turn _Bitfield_Find_first_bit() macro into an inline function.
2016-06-08 15:48:03 +02:00
Sebastian Huber
7103ad34b0
score: Define _Priority_Bits_index() once
2016-06-08 15:48:03 +02:00
Sebastian Huber
bf021daf7c
score: Define _Priority_Mask() once
2016-06-08 15:48:03 +02:00
Sebastian Huber
b04b76c6a0
score: Simplify priority bit map implementation
...
The priority bit map can deal with a maximum of 256 priority values
ranging from 0 to 255. Consistently use an unsigned int for
computation, due to the usual integer promotion rules.
Make Priority_bit_map_Word definition architecture-independent and
define it to uint16_t. This was already the case for all architectures
except PowerPC. Adjust the PowerPC bitmap support accordingly.
2016-06-08 15:48:03 +02:00
Sebastian Huber
18e29faf98
score: Delete CPU_USE_GENERIC_BITFIELD_DATA
...
Rename __log2table into _Bitfield_Leading_zeros since it acually returns
the count of leading zeros of an 8-bit integer. The value for zero is a
bit odd. Provide it unconditionally.
2016-06-08 15:48:03 +02:00
Sebastian Huber
987ea1a9d3
powerpc: Define bitmap defines to FALSE
2016-06-08 15:48:02 +02:00
Sebastian Huber
ec5d7f92fd
score: Delete dead copy and paste code
2016-06-08 15:48:02 +02:00
Sebastian Huber
4c19e59b5e
smptests/smpatomic01: Fix seqlock write
2016-06-08 10:01:44 +02:00
Sebastian Huber
cc8bb9e337
smptests/smpatomic01: Add seqlock test case
2016-06-07 15:28:57 +02:00