summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Conditionally enable thread resource countSebastian Huber2016-11-031-0/+4
| | | | | Maintain the thread resource count only in debug configurations. This is a performance optimization for non-debug configurations.
* score: Relax _Scheduler_Set() restrictionsSebastian Huber2016-11-032-19/+43
| | | | | | No longer unconditionally prevent scheduler changes if the thread owns resources. Prevent a scheduler change only in case other threads wait for the resource.
* rtems: Fix binary semaphore resource countSebastian Huber2016-11-031-2/+2
| | | | | | Binary semaphores (not simple binary semaphores) maintain the resource count since 8797c76addf22a2f0ffc3717ff977695e35b9b0b. Do this also for initially locked binary semaphores.
* tmtests/tmfine01: Update screen fileSebastian Huber2016-11-032-1800/+2194
| | | | Add plot script.
* smptests/smplock01: Update screen fileSebastian Huber2016-11-032-1555/+1555
|
* score: Simplify yield and unblock scheduler opsSebastian Huber2016-11-021-22/+18
| | | | Update #2556.
* score: Introduce Thread_Scheduler_control::homeSebastian Huber2016-11-023-10/+10
| | | | | | | | Replace Thread_Scheduler_control::control and Thread_Scheduler_control::own_control with new Thread_Scheduler_control::home. Update #2556.
* score: Delete Resource HandlerSebastian Huber2016-11-026-443/+0
| | | | Update #2556.
* score: Second part of new MrsP implementationSebastian Huber2016-11-021-5/+0
| | | | Update #2556.
* score: Simplify update priority scheduler opSebastian Huber2016-11-021-11/+5
| | | | Remove unused return status.
* score: First part of new MrsP implementationSebastian Huber2016-11-029-56/+208
| | | | Update #2556.
* score: Yield support for new SMP helping protocolSebastian Huber2016-11-021-0/+52
| | | | Update #2556.
* score: Add new SMP scheduler helping protocolSebastian Huber2016-11-021-2/+191
| | | | Update #2556.
* score: Pass scheduler node to unblock operationSebastian Huber2016-11-021-3/+10
| | | | | | Changed for consistency with other scheduler operations. Update #2556.
* score: Pass scheduler node to block operationSebastian Huber2016-11-021-3/+6
| | | | | | Changed for consistency with other scheduler operations. Update #2556.
* score: Pass scheduler node to yield operationSebastian Huber2016-11-021-3/+10
| | | | | | Changed for consistency with other scheduler operations. Update #2556.
* score: Pass scheduler node to update priority opSebastian Huber2016-11-021-12/+22
| | | | | | | This enables to call this scheduler operation for all scheduler nodes available to a thread. Update #2556.
* sptests/sp35: Remove dead codeSebastian Huber2016-11-021-72/+0
|
* rtems: Add rtems_task_iterate()Sebastian Huber2016-11-022-12/+32
| | | | Update #2423.
* smptests/smplock01: Use test supportSebastian Huber2016-10-313-533/+2189
| | | | Convert output to XML.
* libmisc/xz: Add xz decompression.Chris Johns2016-10-133-4/+98
| | | | Add support to untar XZ compressed files.
* score: More robust linker setsSebastian Huber2016-10-121-29/+44
| | | | | Update #2408. Update #2790.
* smpschedaffinity05: Fix configurationSebastian Huber2016-10-121-0/+2
|
* tmfine01: Add self-contained mutex test caseSebastian Huber2016-10-101-1/+46
| | | | | This demonstrates the effect of false cache line sharing in case of Classic mutexes.
* sptests/spsem03: Fix compile errorSebastian Huber2016-09-231-1/+1
|
* score: Scheduler node awareness for thread queuesSebastian Huber2016-09-211-24/+349
| | | | | | | | Maintain the priority of a thread for each scheduler instance via the thread queue enqueue, extract, priority actions and surrender operations. This replaces the primitive priority boosting. Update #2556.
* rtems: Add rtems_task_get_priority()Sebastian Huber2016-09-213-0/+65
| | | | | Update #2556. Update #2784.
* smptests/smpmutex01: Use test case functionsSebastian Huber2016-09-211-2/+24
|
* score: Rework thread priority managementSebastian Huber2016-09-215-45/+176
| | | | | | | | | | | | | | | | | | | | | | | | | Add priority nodes which contribute to the overall thread priority. The actual priority of a thread is now an aggregation of priority nodes. The thread priority aggregation for the home scheduler instance of a thread consists of at least one priority node, which is normally the real priority of the thread. The locking protocols (e.g. priority ceiling and priority inheritance), rate-monotonic period objects and the POSIX sporadic server add, change and remove priority nodes. A thread changes its priority now immediately, e.g. priority changes are not deferred until the thread releases its last resource. Replace the _Thread_Change_priority() function with * _Thread_Priority_perform_actions(), * _Thread_Priority_add(), * _Thread_Priority_remove(), * _Thread_Priority_change(), and * _Thread_Priority_update(). Update #2412. Update #2556.
* termios: Use IMFS nodes for new Termios devicesSebastian Huber2016-09-192-117/+48
| | | | | | | | This makes the new Termios devices independent of device major/minor numbers. It enables BSP independent Termios device drivers which may reside in the cpukit domain. These drivers require an IMFS and do not work with the device file system. However, the device file system should go away in the future.
* libtests/devfs: Use printk()Sebastian Huber2016-09-193-5/+5
| | | | | This avoids problems with console drivers that use generic nodes of the IMFS.
* fstests: Use printk() for IMFS configuration testsSebastian Huber2016-09-192-4/+4
| | | | | This avoids problems with console drivers that require a more complete IMFS.
* tests: CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEMSebastian Huber2016-09-197-7/+0
| | | | Avoid unnecessary use of CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM.
* Add SPI bus frameworkAlexander Krutwig2016-09-166-0/+322
| | | | | | User API is compatible to Linux userspace API. New test libtests/spi01. Update #2776.
* score: Introduce _Thread_Get_priority()Sebastian Huber2016-09-083-11/+15
| | | | Avoid direct access to thread internal data fields.
* score: Introduce Thread_queue_Lock_contextSebastian Huber2016-09-082-2/+2
| | | | | | Introduce Thread_queue_Lock_context to contain the context necessary for thread queue lock and thread wait lock acquire/release operations to reduce the Thread_Control size.
* testsuite: Add libdl/dl05 reloc test.Chris Johns2016-09-0810-1/+1544
|
* score: Add _Chain_Initialize_one()Sebastian Huber2016-09-062-0/+24
|
* score: Add _RBTree_Initialize_one()Sebastian Huber2016-09-062-0/+26
|
* libmisc/capture: Remove the reserved _t in the types.Chris Johns2016-09-013-17/+17
|
* libmisc/capture: Fix the capture engine on SMP.Chris Johns2016-09-011-77/+95
| | | | | | | | | | | | | | | | | | | | | | | This patches some issues with the capture engine: 1. Check is the engine is open in ctrace commands. 2. Check all record open and appends for overflow. 3. Fix the record open to take the size of user data and not the record header. 4. Use packed structs for data being written to the per cpu buffers. 5. Remove direct struct access to the capture buffers to avoid misaligned accesses. 6. Add support to extract records, no struct access to the capture buffers. 7. Update ctrace to extract records from the capture buffers. 8. Add support to ctrace to always print the task name if it has one. 9. Add support to manage names or the lack of a name. 10. Range of minor fixes. 11. Fix a long standing bug in ctset's handling of args. Closes #2780.
* psxtests: Adjust sporadic server testsSebastian Huber2016-08-183-99/+64
| | | | | | | | | | | | | According to POSIX priority value returned from pthread_getschedparam() shall be the value specified by the most recent pthread_setschedparam(), pthread_setschedprio(), or pthread_create() call affecting the target thread. Read this as though a temporary lower priority due to the sporadic server policy shall not be visible through pthread_getschedparam(). Thus, use rtems_task_set_priority() to get the current priority of the threads. Use a priority ceiling mutex to prevent sporadic server priority adjustments.
* testsuite: Add libdl/dl04 cache test.Chris Johns2016-08-1510-0/+1549
|
* testsuite: Add libdl/dl03 cache test.Chris Johns2016-08-158-1/+491
|
* score: Improve _RBTree_Insert_inline()Sebastian Huber2016-08-123-1/+65
| | | | Return if the inserted node is the new minimum node or not.
* librtems++: Remove from RTEMS.Chris Johns2016-08-1110-1200/+1
| | | | | | | This is old and there are better design patterns for threading and C++. We recommend you use the new C++ standards based support. Closes #2777.
* build-system: Always enable C++ if the compiler is present.Chris Johns2016-08-113-20/+30
| | | | | | | | | | | We always build a C++ compiler and building with C++ does not effect RTEMS or the runtime. This patch always enabled the support. There is no need to manually enable it any more. You can disable C++ with '--disable-cxx'. If an architecture does not have a C++ compiler support is automatically disabled.
* sptests/splinkersets01: Fix for small-data areaSebastian Huber2016-08-102-12/+12
|
* libmisc/untar: Set the perms to the value in the tar file.Chris Johns2016-08-092-1/+34
| | | | | | | This patch parses the mode field in the tar header and sets the directory or file to the mode value in the header. Closes #2768.
* sptests/splinkersets01: Fix warningsSebastian Huber2016-08-083-34/+34
|