summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/Makefile.am (follow)
Commit message (Collapse)AuthorAgeFilesLines
* timecounter: Use in RTEMSAlexander Krutwig2015-05-201-0/+1
| | | | | | | | Replace timestamp implementation with FreeBSD bintime and timecounters. New test sptests/sptimecounter02. Update #2271.
* timecounter: Port to RTEMSAlexander Krutwig2015-05-201-0/+1
| | | | | | New test sptests/timecounter01. Update #2271.
* score: Fix _Thread_Change_priority()Sebastian Huber2015-03-201-0/+1
| | | | | | | | | | Atomically update the current priority of a thread and the wait queue. Serialize the scheduler update in a separate critical section with a generation number. New test sptests/spintrcritical23. Close #2310.
* tm07: Split some code into new spnotepad02.Joel Sherrill2015-03-171-1/+1
| | | | | | Use of deprecated notepads in sp07 needs further work. Updates #2305.
* score: Make <rtems/score/atomic.h> availableSebastian Huber2015-02-191-0/+1
| | | | | | | | Make <rtems/score/atomic.h> available for all RTEMS configurations. Use inline functions instead of macros. Use ISR disable/enable on uni-processor configurations to ensure atomicity. Update #2273.
* Filesystem: Statically initialize rtems_libio_iopsSebastian Huber2015-02-041-1/+1
|
* score: Rework global constructionSebastian Huber2014-10-131-0/+1
| | | | | | Ensure that the global construction is performed in the context of the first initialization thread. On SMP this was not guaranteed in the previous implementation.
* sptests/spintrcritical22: New testSebastian Huber2014-09-191-0/+1
|
* sptests/sp39: Convert to sptests/spintrcritical21Sebastian Huber2014-09-101-1/+2
| | | | | Use interrupt critical section test support. Do not print end of test message in case of failure.
* sptests/spsem03: New testSebastian Huber2014-06-031-0/+1
|
* score: Add Resource HandlerSebastian Huber2014-06-031-0/+1
| | | | | | | | | | A resource is something that has at most one owner at a time and may have multiple rivals in case an owner is present. The owner and rivals are impersonated via resource nodes. A resource is represented via the resource control structure. The resource controls and nodes are organized as trees. It is possible to detect deadlocks via such a resource tree. The _Resource_Iterate() function can be used to iterate through such a resource tree starting at a top node.
* score: Multiprocessor Resource Sharing ProtocolSebastian Huber2014-05-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | Add basic support for the Multiprocessor Resource Sharing Protocol (MrsP). The Multiprocessor Resource Sharing Protocol (MrsP) is defined in A. Burns and A.J. Wellings, A Schedulability Compatible Multiprocessor Resource Sharing Protocol - MrsP, Proceedings of the 25th Euromicro Conference on Real-Time Systems (ECRTS 2013), July 2013. It is a generalization of the Priority Ceiling Protocol to SMP systems. Each MrsP semaphore uses a ceiling priority per scheduler instance. These ceiling priorities can be specified with rtems_semaphore_set_priority(). A task obtaining or owning a MrsP semaphore will execute with the ceiling priority for its scheduler instance as specified by the MrsP semaphore object. Tasks waiting to get ownership of a MrsP semaphore will not relinquish the processor voluntarily. In case the owner of a MrsP semaphore gets preempted it can ask all tasks waiting for this semaphore to help out and temporarily borrow the right to execute on one of their assigned processors. The help out feature is not implemented with this patch.
* score: Simplify _Thread_Change_priority()Sebastian Huber2014-05-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | The function to change a thread priority was too complex. Simplify it with a new scheduler operation. This increases the average case performance due to the simplified logic. The interrupt disabled critical section is a bit prolonged since now the extract, update and enqueue steps are executed atomically. This should however not impact the worst-case interrupt latency since at least for the Deterministic Priority Scheduler this sequence can be carried out with a wee bit of instructions and no loops. Add _Scheduler_Change_priority() to replace the sequence of - _Thread_Set_transient(), - _Scheduler_Extract(), - _Scheduler_Enqueue(), and - _Scheduler_Enqueue_first(). Delete STATES_TRANSIENT, _States_Is_transient() and _Thread_Set_transient() since this state is now superfluous. With this change it is possible to get rid of the SCHEDULER_SMP_NODE_IN_THE_AIR state. This considerably simplifies the implementation of the new SMP locking protocols.
* testsuite: Add a per BSP test check for tests not to build.Chris Johns2014-05-051-25/+25
| | | | | | | | Provide a file per BSP to list tests that do not build for a BSP. This change removes the BSP_SMALL_MEMORY hack from the code. That hack was a mistake. Provide configuration files for each BSP with tests that cannot build.
* score: Task get/set affinitySebastian Huber2014-04-151-1/+2
| | | | | Make rtems_task_get_affinity() and rtems_task_set_affinity() available on non-SMP configurations. Allow larger CPU sets.
* Disable per task variables when SMP is enabledJoel Sherrill2014-04-041-1/+6
| | | | | | Per task variables are inherently unsafe in SMP systems. This patch disables them from the build and adds warnings in the appropriate documentation and configuration sections.
* score: PR788: Add INTERNAL_ERROR_RESOURCE_IN_USESebastian Huber2014-04-031-0/+1
| | | | | | | | | | | | | | | Issue a fatal error in case a thread is deleted which still owns resources (e.g. a binary semaphore with priority inheritance or ceiling protocol). The resource count must be checked quite late since RTEMS task variable destructors, POSIX key destructors, POSIX cleanup handler, the Newlib thread termination extension or other thread termination extensions may release resources. In this context it would be quite difficult to return an error status to the caller. An alternative would be to place threads with a non-zero resource count not on the zombie chain. Thus we have a resource leak instead of a fatal error. The terminator thread can see this error if we return an RTEMS_RESOURCE_IN_USE status for the rtems_task_delete() for example.
* score: Do not reset resource count during restartSebastian Huber2014-03-311-0/+1
| | | | | | | This fixes an integer underflow problem in case resources are released after a thread restart. Add new test sptests/spthreadlife01.
* sptests: New tests split from sp09 screen 1 and screen 2.Bjorn Larsson2014-03-281-2/+3
| | | | | | Split sp09 screen 1 into new test sptask_err04. Split sp09 screen 2 into new tests sptask__err02 and spclock_err01, as well as moving one verification into sptimer_err01.
* sptask_err03: New test split from sp09 screen 3.Bjorn Larsson2014-03-281-1/+1
|
* spevent_err03: New test split from sp09 screen 4.Bjorn Larsson2014-03-281-1/+1
|
* sptests: split sp09 screen 5,6 into spsem_err01, spsem_err02, and sptask_err01.Bjorn Larsson2014-03-281-1/+2
| | | | | sp09 screen 5 split into spsem_err01, sp09 screen 6 split into spsem_err02, and sptask_err01.
* sptests: Split sp09 screens 7,8 into spmsg1_err01 and spmsgq_err02.Bjorn Larsson2014-03-281-1/+1
| | | | | | spmsgq_err01 test replaces rtems_message_queue_XXX error tests from sp09 screen 7. spmsgq_err02 replaces rtems_message_queue_XXX error tests from sp09 screen 8.
* spport_err01: New test split from sp09Bjorn Larsson2014-03-281-1/+1
| | | | This test verifies rtems_port_XXX error tests from sp09 screen 9.
* spsignal_err01: New test split from sp09.Bjorn Larsson2014-03-281-1/+2
| | | | | This test moves rtems_signal_send error testing from sp09 screen 9 into its own test.
* spintr_err01: New test split from sp09.Bjorn Larsson2014-03-281-1/+1
| | | | | This test contains the interrupt catch error tests from sp09 screen 9.
* spratemon_err01: New test split from sp09.Bjorn Larsson2014-03-281-1/+1
|
* privateenv: Use POSIX keys instead of task variables.Christian Mauderer2014-03-271-1/+1
|
* sapi: Add profiling application level supportSebastian Huber2014-03-141-0/+1
|
* sptests/spcache01: New testSebastian Huber2014-02-241-0/+1
|
* score: Fix thread TLS area initializationSebastian Huber2014-02-241-0/+1
| | | | | Do not use _TLS_Size here since this will lead GCC to assume that this symbol is not 0 and the later > 0 test will be optimized away.
* score: Delete INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UPSebastian Huber2014-02-191-1/+1
| | | | | This error case is no longer required since rtems_shutdown_executive() can be called anytime, anywhere
* score: Add CPU counter supportSebastian Huber2014-02-141-0/+1
| | | | | | | | | Add a CPU counter interface to allow access to a free-running counter. It is useful to measure short time intervals. This can be used for example to enable profiling of critical low-level functions. Add two busy wait functions rtems_counter_delay_ticks() and rtems_counter_delay_nanoseconds() implemented via the CPU counter.
* Add thread-local storage (TLS) supportSebastian Huber2014-02-041-0/+4
| | | | | Tested and implemented on ARM, m68k, PowerPC and SPARC. Other architectures need more work.
* sptests: Refactor sp09 into sppartition_err01 and sp09.Mandar Juvekar2014-01-021-1/+1
|
* spregion_err01: New test refactored from sp09Mandar Juvekar2013-12-301-1/+2
|
* sptests: refactor sp09/screen13 into a new test spclock_err02Chirayu Desai2013-12-241-0/+1
|
* sptests/spcpuset*: Add tests for fixed size cpu_set_t operations.Jennifer Averett2013-12-191-0/+4
| | | | | | This adds five tests for <sys/cpuset.h>. It does not include tests for CPU_XXX_S methods. The autotools should be able to avoid enabling the tests unless the toolset has <sys/cpuset.h>.
* sptests: refactored sp09/screen14.c into two new testsDaniel Ramirez2013-12-111-0/+1
|
* sptests: add a test for page sizeChirayu Desai2013-12-061-2/+2
| | | | Bug: https://www.rtems.org/bugzilla/show_bug.cgi?id=1216
* sptests/spintrcritical20: PR2140: New testSebastian Huber2013-08-231-0/+1
|
* sptests/spintrcritical19: PR2136: New testSebastian Huber2013-08-081-0/+1
|
* clean up spatomic testcaseWeiY2013-08-011-3/+1
|
* score: Add freechainZhongwei Yao2013-07-241-0/+1
|
* sptests: add test to demonstrate bug in strict order mutexGedare Bloom2013-05-201-1/+1
|
* sptests: add test for priority inversion with multiple locksGedare Bloom2013-05-201-1/+1
|
* score: Add CPU context validationSebastian Huber2013-05-101-0/+1
|
* score: atomic support for RTEMS automake and autoconf changesWeiY2013-02-071-1/+3
|
* score: Add CPU_Exception_frameSebastian Huber2012-11-271-0/+1
| | | | | | | | | | | | | | | | | | | | | Add CPU port type CPU_Exception_frame and function _CPU_Exception_frame_print(). The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh, sparc64, and v850 use an empty default implementation of _CPU_Exception_frame_print(). Add rtems_exception_frame and rtems_exception_frame_print(). Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions. Use rtems_fatal() with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc, and sparc for unexpected exceptions. Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the BSP_PRINT_EXCEPTION_CONTEXT define used in the default bsp_fatal_extension(). Add test sptests/spfatal26.
* sapi: Add and use rtems_internal_error_descriptionSebastian Huber2012-11-151-0/+1
|