summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* samples/base_mp/apptask.c: Fix warning and clean upJoel Sherrill2016-06-161-12/+11
|
* libchip/shmdr/send.c: Fix warning and clean upJoel Sherrill2016-06-161-15/+21
|
* libchip/shmdr/poll.c: Fix warning and clean upJoel Sherrill2016-06-161-5/+8
|
* mvme147s/shmsupp/mpisr.c: Fix warnings and clean upJoel Sherrill2016-06-161-12/+10
|
* mvme147s/shmsupp/getcfg.c: Fix warningJoel Sherrill2016-06-161-1/+1
|
* score: Fix thread delete race condition on SMPSebastian Huber2016-06-161-6/+17
|
* rtems: Fix rtems_semaphore_create()Sebastian Huber2016-06-161-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 msSebastian Huber2016-06-152-21/+26
| | | | Update #2738.
* posix: Fix poradic server initial CPU budgetSebastian Huber2016-06-155-24/+118
| | | | Update #2738.
* psxtests/psx12: Use one file and simplifySebastian Huber2016-06-155-134/+33
|
* posix: Use _POSIX_Threads_Sporadic_timer_insert()Sebastian Huber2016-06-153-15/+16
|
* posix: Remove superfluous codeSebastian Huber2016-06-151-61/+0
| | | | Remove double declarations, useless comments and unused functions.
* posix: sched_get_priority_max()Sebastian Huber2016-06-143-7/+16
| | | | | | Enable for all configurations since it pulls in no additional dependencies. Return value of the scheduler instance of the executing thread.
* posix: sched_get_priority_min()Sebastian Huber2016-06-142-2/+9
| | | | | Enable for all configurations since it pulls in no additional dependencies.
* bsps: Add CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSORSebastian Huber2016-06-143-7/+31
| | | | | | | | | 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.
* score: _Scheduler_priority_Ready_queue_initializeSebastian Huber2016-06-144-7/+17
| | | | | Use priority maximum of scheduler instance. This avoids a potential memory corruption on SMP configurations.
* score: _Thread_Create_idle_for_CPU()Sebastian Huber2016-06-141-12/+12
| | | | Use priority maximum of scheduler instance.
* posix: Add pthread_setschedprio()Sebastian Huber2016-06-133-0/+85
| | | | Close #2734.
* posix: Fix pthread_setschedparam()Sebastian Huber2016-06-132-1/+55
| | | | Close #2735.
* posix: Fix pthread_getschedparam()Sebastian Huber2016-06-132-1/+47
| | | | | | Return the unmodified thread priority value according to POSIX. Close #2736.
* bsp/qoriq: Increase reserved size for FDTSebastian Huber2016-06-131-1/+1
| | | | Some boards require this size.
* bsp/irq-server: Fix install/removeSebastian Huber2016-06-131-135/+173
| | | | | | | | 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.
* i386: Fix _CPU_Bitfield_Find_first_bit()Sebastian Huber2016-06-131-6/+5
| | | | Bug introduced by b04b76c6a0c87ffc9670d356e793108411ce355a.
* score: Comment _Thread_queue_Enqueue_critical()Sebastian Huber2016-06-091-0/+9
|
* confdefs.h: Do not hide network file systemsSebastian Huber2016-06-091-34/+30
| | | | | Do not hide network file systems if RTEMS_NETWORKING is not defined, since they may be provided by the LibBSD.
* ftpfs: Remove superfluous includeSebastian Huber2016-06-091-1/+0
|
* bsps/powerpc: Update to RTEMS printer changesSebastian Huber2016-06-091-8/+8
|
* score: Add an SMP sequence lock implementationSebastian Huber2016-06-095-24/+520
|
* score: Use builtin for _Bitfield_Find_first_bit()Sebastian Huber2016-06-081-0/+2
| | | | | | 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.
* score: Inline _Bitfield_Find_first_bit()Sebastian Huber2016-06-081-32/+23
| | | | Turn _Bitfield_Find_first_bit() macro into an inline function.
* score: Define _Priority_Bits_index() onceSebastian Huber2016-06-081-25/+13
|
* score: Define _Priority_Mask() onceSebastian Huber2016-06-081-21/+13
|
* score: Simplify priority bit map implementationSebastian Huber2016-06-0822-81/+21
| | | | | | | | | | 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.
* score: Delete CPU_USE_GENERIC_BITFIELD_DATASebastian Huber2016-06-0820-56/+7
| | | | | | 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.
* powerpc: Define bitmap defines to FALSESebastian Huber2016-06-081-0/+4
|
* score: Delete dead copy and paste codeSebastian Huber2016-06-0810-1064/+5
|
* smptests/smpatomic01: Fix seqlock writeSebastian Huber2016-06-081-1/+3
|
* smptests/smpatomic01: Add seqlock test caseSebastian Huber2016-06-072-0/+235
|
* rtems: Simplify rtems_semaphore_create()Sebastian Huber2016-06-071-132/+113
| | | | | Remove superfluous includes. Use one attribute compare for each semaphore variant. Text size drops by 10% on PowerPC due to this.
* tools: Delete unused binpatchSebastian Huber2016-06-062-148/+0
| | | | | | This was a no-install binary apparently unused. Update #2730.
* bsp/atsam: Support QSPI flashAlexander Krutwig2016-06-067-5/+65
|
* atsam: Fix network interface PHY handlingAlexander Krutwig2016-06-062-67/+52
| | | | Close #2685.
* shell: Add rtems_shell_wait_for_explicit_input()Alexander Krutwig2016-06-062-4/+40
|
* mghttpd: Add RTEMS printer supportSebastian Huber2016-06-063-2/+18
|
* rtems: Fix no protocol mutex releaseSebastian Huber2016-06-064-86/+84
| | | | | | | | | | | | | | | | The Classic binary semaphores without a locking protocol (RTEMS_BINARY_SEMAPHORE) could be released by everyone, e.g. in contrast to the POSIX mutexes (all variants) or the Classic binary semphores with priority inheritance or ceiling, there was no owner check in the release path. This behaviour was a bit unexpected and not documented. Add an owner check to the release path. Update sptests/sp42 accordingly. This change has nothing to do with the simple binary semaphores (RTEMS_SIMPLE_BINARY_SEMAPHORE) which have no owner at all. Update #2725
* tftp: Use proper semaphore attr for mutexSebastian Huber2016-06-061-4/+2
| | | | Close #2729.
* pipe: Use proper semaphore attr for mutexSebastian Huber2016-06-061-2/+2
| | | | Close #2728.
* dosfs: Use proper semaphore attr for mutexSebastian Huber2016-06-061-1/+2
| | | | Close #2727.
* libblock: Use proper semaphore attr for mutexSebastian Huber2016-06-061-2/+1
| | | | Close #1452.
* libmisc/untar: Support directory create and overwrites. Share the common code.Chris Johns2016-06-033-130/+349
| | | | | | | | | | | | | | | | | | | Support creating directories for files with a path depth greater than 1. Some tar files can have files with a path depth greater than 1 and no directory entry in the tar file to create a directory. Support overwriting existing files and directories failing in a similar way to tar on common hosts. If a file is replaced with a file delete the file and create a new file. If a directory replaces a file remove the file and create the directory. If a file replaces a directory remove the directory, and if the directory is not empty and cannot be removed report an error. If a directory alreday exists do nothing leaving the contents untouched. The untar code now shares the common header parsing and initial processing with the actual writes still separate. No changes to the IMFS have been made. Updates #2415. Closes #2207.