summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* posix: Implement self-contained POSIX barriersSebastian Huber2017-10-059-61/+63
| | | | | | | | POSIX barriers are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3114.
* posix: Implement self-contained POSIX semaphoresSebastian Huber2017-10-058-38/+227
| | | | | | | | | | | | | | For semaphore object pointer and object validation see POSIX_SEMAPHORE_VALIDATE_OBJECT(). Destruction or close of a busy semaphore returns an error status. The object is not flushed. POSIX semaphores are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3116.
* posix: Allow PTHREAD_PROCESS_SHARED for rwlocksSebastian Huber2017-09-221-0/+38
| | | | Close #3153.
* psxrdwrv/test.c: Clear iovec to ensure consistent resultsJoel Sherrill2017-09-211-0/+3
| | | | closes #3148.
* posix: Allow PTHREAD_PROCESS_SHARED for condvarSebastian Huber2017-09-152-2/+29
| | | | Close #3137.
* posix: Allow PTHREAD_PROCESS_SHARED for barriersSebastian Huber2017-09-152-2/+23
| | | | Close #3126.
* posix: Allow PTHREAD_PROCESS_SHARED for mutexesSebastian Huber2017-09-152-4/+7
| | | | Close #3125.
* libio: Use FIFO for iop free listSebastian Huber2017-09-152-8/+38
| | | | Update #3136.
* libio: Add hold/drop iop referenceSebastian Huber2017-09-1512-0/+749
| | | | | | | Check iop reference count in close() and return -1 with errno set to EBUSY in case the file descriptor is still in use. Update #3132.
* libio: Do simple parameter checks earlySebastian Huber2017-09-151-3/+9
| | | | | | This simplifies error handling later. Update #3132.
* fstests/fsimfsgeneric01: Fix test assertSebastian Huber2017-09-141-2/+1
|
* posix: Ignore pshared for semaphoresSebastian Huber2017-09-121-5/+9
| | | | | | Since we have only one process, sharing between processes is trivial. Close #3124.
* dosfs: Support a cluster size of 64KiBSebastian Huber2017-09-061-0/+28
| | | | Close #3003.
* psxconfig01/init.c: Fix printf() format warningsJoel Sherrill2017-08-271-6/+6
|
* sp25/task1.c: Fix printf() format warningsJoel Sherrill2017-08-271-2/+2
|
* spstkalloc02/init.c: Fix printf() format warningsJoel Sherrill2017-08-271-6/+6
|
* Include missing <limits.h>Sebastian Huber2017-08-251-0/+1
| | | | Update #2132.
* samples/fileio: Give command availability hintSebastian Huber2017-08-241-3/+7
| | | | Close #3088.
* smptests: Fix format specifierSebastian Huber2017-08-222-3/+3
| | | | Update #3082.
* psximfs02/init.c: Increase size of buffer to avoid overwriteJoel Sherrill2017-07-281-2/+2
|
* psxmmap01/init.c: Correct printf() format specifierJoel Sherrill2017-07-281-1/+1
|
* psxtests/psxmmap01: Fix warningSebastian Huber2017-07-281-1/+1
| | | | Update #2859.
* Fix IO control request typeSebastian Huber2017-07-282-2/+2
|
* libtests/block08: Fix format warningSebastian Huber2017-07-281-1/+1
|
* psxmmap01/test_helper.c: Use correct printf format for size_tJoel Sherrill2017-07-271-1/+1
|
* psxmmap01/test_driver.c: Fix mmap_h handler type mismatchJoel Sherrill2017-07-271-1/+1
|
* sparc: Add lazy floating point switchSebastian Huber2017-07-253-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The SPARC ABI is a bit special with respect to the floating point context. The complete floating point context is volatile. Thus, from an ABI point of view nothing needs to be saved and restored during a context switch. Instead the floating point context must be saved and restored during interrupt processing. Historically, the deferred floating point switch was used for SPARC and the complete floating point context is saved and restored during a context switch to the new floating point unit owner. This is a bit dangerous since post-switch actions (e.g. signal handlers) and context switch extensions may silently corrupt the floating point context. The floating point unit is disabled for interrupt handlers. Thus, in case an interrupt handler uses the floating point unit then this will result in a trap (INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT). In uniprocessor configurations, a lazy floating point context switch is used. In case an active floating point thread is interrupted (PSR[EF] == 1) and a thread dispatch is carried out, then this thread is registered as the floating point owner. When a floating point owner is present during a context switch, the floating point unit is disabled for the heir thread (PSR[EF] == 0). The floating point disabled trap checks that the use of the floating point unit is allowed and saves/restores the floating point context on demand. Update #3077.
* INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNITSebastian Huber2017-07-2511-2/+248
| | | | | | Add new fatal error INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT. Update #3077.
* tmtests/tmcontext01: Prevent GCC 7.1 optimizationsSebastian Huber2017-07-201-20/+21
| | | | | It is getting harder to prevent the compiler from optimizing away the recursive function calls.
* sptests/sptls02: Use standard test IOSebastian Huber2017-07-191-1/+0
| | | | Update #3076.
* sptests/spcache01: Use standard test IOSebastian Huber2017-07-191-1/+0
| | | | Update #3076.
* tests: Use floating point taskSebastian Huber2017-07-192-1/+3
| | | | | | | These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
* smptests/smpscheduler02: Remove invalid assertSebastian Huber2017-07-191-3/+1
| | | | Update #3059.
* smptests/smpscheduler01: Use right schedulerSebastian Huber2017-07-191-0/+3
| | | | Update #3063.
* tests: Use floating point taskSebastian Huber2017-07-195-3/+12
| | | | | | | These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
* tests: Use floating point taskSebastian Huber2017-07-1831-0/+58
| | | | | | | These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
* tests: Use more integer print functionsSebastian Huber2017-07-181-0/+14
| | | | | | This avoids an unnecessary use of the floating point unit. Update #3076.
* psxtests: Add a mmap dedicated test caseKevin Kirspel2017-07-1410-0/+553
| | | | Updates #2859
* rtems: Add rtems_scheduler_ident_by_processor_setSebastian Huber2017-07-112-0/+30
| | | | Update #3070.
* rtems: Add rtems_scheduler_ident_by_processor()Sebastian Huber2017-07-112-0/+18
| | | | Update #3069.
* score: Fix set schedulerSebastian Huber2017-07-101-6/+10
| | | | | | | Ensure that the thread processor affinity fits the new scheduler instance. Update #3059.
* score: Add simple affinity support to EDF SMPSebastian Huber2017-07-1012-2/+614
| | | | Update #3059.
* smptests/smpstrongapa01: SimplifySebastian Huber2017-07-071-3/+3
| | | | Update #3059.
* score: Fix default set affinitySebastian Huber2017-07-071-3/+4
| | | | | | | | The set of online processors must be a subset of the thread processor affinity for the schedulers without arbitrary processor affinity support to avoid problems in case of processor addition and removal. Update #3059.
* score: Introduce _SMP_Get_online_processors()Sebastian Huber2017-07-071-2/+2
| | | | Update #3059.
* score: Use processor mask for set affinitySebastian Huber2017-07-072-2/+2
| | | | Update #3059.
* score: Move processor affinity to Thread_ControlSebastian Huber2017-07-073-7/+16
| | | | Update #3059.
* score: Use <sys/bitset.h> for Processor_maskSebastian Huber2017-07-061-2/+2
| | | | | | | | Implement the Processor_mask via <sys/bitset.h>. Provide _Processor_mask_To_uint32_t() to enable its use in device specific routines, e.g. interrupt affinity register in an interrupt controller. Update #3059.
* newlib01: Use fopen() instead of freopen()Sebastian Huber2017-06-301-3/+11
| | | | | | | With global stdio streams, a freopen() would close the global stream object. Update #3012.
* smptests/smpschededf01: New testSebastian Huber2017-06-296-0/+215
| | | | Update #3056.