summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* spcpuset01: Add check for sys/cpuset.h.Jennifer Averett2014-03-073-10/+29
| | | | | If <sys/cpuset.h> is not provided by the toolset, the test cannot be compiled.
* rtems: Add cache size functionsSebastian Huber2014-02-282-4/+40
| | | | | Add rtems_cache_get_data_cache_size() and rtems_cache_get_instruction_cache_size().
* rtems: Use size_t for cache line sizeSebastian Huber2014-02-281-2/+2
| | | | A cache line cannot have a negative size.
* sptests/spcache01: Detect write-through cacheSebastian Huber2014-02-282-3/+15
|
* sptests/spcache01: New testSebastian Huber2014-02-246-0/+426
|
* score: Fix thread TLS area initializationSebastian Huber2014-02-248-24/+127
| | | | | 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.
* sptests/spcpucounter01: Adjust testSebastian Huber2014-02-242-9/+29
| | | | | Adjust test to work with clock driver based CPU counters. They have a period equal to the clock tick interval.
* score: Rename _Internal_error_Occurred()Sebastian Huber2014-02-212-3/+3
| | | | Rename _Internal_error_Occurred() into _Terminate().
* score: Add RTEMS_FATAL_SOURCE_SMPSebastian Huber2014-02-192-1/+2
| | | | | | Use rtems_fatal() instead of _CPU_Fatal_halt() to shutdown processors in SMP configurations since this allows intervention of BSP or application specific fatal extensions.
* score: Add RTEMS_FATAL_SOURCE_BSPSebastian Huber2014-02-191-2/+1
| | | | | | Merge RTEMS_FATAL_SOURCE_BSP_GENERIC and RTEMS_FATAL_SOURCE_BSP_SPECIFIC into new fatal source RTEMS_FATAL_SOURCE_BSP. This makes it easier to figure out the code position given a fatal source and code.
* score: Delete INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UPSebastian Huber2014-02-197-71/+2
| | | | | This error case is no longer required since rtems_shutdown_executive() can be called anytime, anywhere
* score: Delete _Thread_BSP_contextSebastian Huber2014-02-191-2/+1
| | | | | | | | | | | | Do not return to BSP context in the exit() shutdown path. This makes it possible to re-use the initialization stack. It can be used for the interrupt stack for example. On targets with a small RAM this is a considerable benefit. This change eliminates also some special cases and simplifies the code. Delete _Thread_Set_global_exit_status(), _Thread_Get_global_exit_status() and _Thread_Stop_multitasking().
* score: Add SYSTEM_STATE_TERMINATEDSebastian Huber2014-02-191-1/+1
| | | | | | Merge systems states SYSTEM_STATE_SHUTDOWN and SYSTEM_STATE_FAILED into new system state SYSTEM_STATE_TERMINATED. This reflects that all system termination paths end up in _Internal_error_Occurred().
* score: Add CPU counter supportSebastian Huber2014-02-146-0/+164
| | | | | | | | | 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.
* score: Change debug helper functionsSebastian Huber2014-02-122-26/+26
| | | | | | | | Rename rtems_internal_error_description() to rtems_internal_error_text(). Rename rtems_fatal_source_description() to rtems_fatal_source_text(). Rename rtems_status_code_description() to rtems_status_text(). Remove previous implementation of rtems_status_text().
* rtems: Add rtems_status_code_description()Sebastian Huber2014-02-062-2/+50
|
* sptests/spsem0[12]: Use rtems_test_exit()Sebastian Huber2014-02-052-4/+4
|
* Add thread-local storage (TLS) supportSebastian Huber2014-02-0410-0/+436
| | | | | Tested and implemented on ARM, m68k, PowerPC and SPARC. Other architectures need more work.
* score: Add _Workspace_Allocate_aligned()Sebastian Huber2014-02-043-0/+18
|
* spsize/size.c: Fix typo.HailinGuo2014-01-091-4/+8
| | | | From pull request at https://github.com/hazirguo/rtems/commit/fc07a4c501ffebe406464eb9b8dd2097adfd5e60
* sp16, sp17, and sp20: Documentation FixesToma Radu2014-01-083-19/+27
| | | | Fix the documentation for the sp16, sp17 and sp20 tests.
* spfifo02: Clean up outputJoel Sherrill2014-01-072-7/+61
|
* sp09: Remove partition specific partsJoel Sherrill2014-01-044-46/+9
|
* spregion_err01: Clean up commentsJoel Sherrill2014-01-041-1/+0
|
* sppartition_err01: Remove dead parts, reduce, and clean up.Joel Sherrill2014-01-0414-1017/+356
| | | | Also fix naming issues.
* pskey09, sp17: documentation cleanup.Mandar Juvekar2014-01-031-3/+4
|
* sptests: Refactor sp09 into sppartition_err01 and sp09.Mandar Juvekar2014-01-0217-6/+777
|
* sp09: Remove region test referencesJoel Sherrill2013-12-305-56/+10
|
* spregion_err01: Remove unneeded fluff copied from sp09Joel Sherrill2013-12-3013-1135/+448
| | | | | The goal is to shrink the individual tests to have no unneeded resources and to follow the structure of a normal test.
* spregion_err01: New test refactored from sp09Mandar Juvekar2013-12-3017-6/+826
|
* Test suite documentations corrections and fixes.Toma Radu2013-12-285-43/+47
| | | | Correct the sp02.doc, sp05.doc, sp06.doc, sp07.doc, sp08.doc files.
* utf8proc1/spedgsched01: minor fixes in test document filesMandar Juvekar2013-12-251-7/+9
|
* sptests: refactor sp09/screen13 into a new test spclock_err02Chirayu Desai2013-12-2410-34/+88
|
* cpukit/rtems: Add rtems_clock_get_uptime_nanoseconds to the RTEMS API.Chris Johns2013-12-242-0/+4
| | | | | | Add Timestamp support in the score to return a timestamp in nanoseconds. Add a test. Update the RTEMS API documentation.
* sptests/spcpuset*: Add tests for fixed size cpu_set_t operations.Jennifer Averett2013-12-198-0/+4411
| | | | | | 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-1117-419/+618
|
* sptests/spfifo01: Add test case for mknod()Sebastian Huber2013-12-111-5/+8
|
* PR2160: imfs: Use ENOSYS for unsupported nodesSebastian Huber2013-12-111-15/+4
| | | | | Return an error status with errno set to ENOSYS during node creation for nodes not available in the current configuration.
* sppagesize: fix copyrightGedare Bloom2013-12-062-7/+5
|
* sptests: add a test for page sizeChirayu Desai2013-12-066-2/+89
| | | | Bug: https://www.rtems.org/bugzilla/show_bug.cgi?id=1216
* sptest: sp2038: Add a test for leap yearChirayu Desai2013-12-051-0/+32
| | | | Bug test case for PR 1422
* score/rbtree: Remove "unprotected" from APISebastian Huber2013-11-211-64/+64
|
* score/rbtree: Delete protected operationsSebastian Huber2013-11-211-64/+64
| | | | | The user of the red-black tree container must now ensure that at most one thread at once can access an instance.
* smp: Add and use _Assert_Owner_of_giant()Sebastian Huber2013-08-301-0/+14
| | | | | | | | | | | | | | Add and use _ISR_Disable_without_giant() and _ISR_Enable_without_giant() if RTEMS_SMP is defined. On single processor systems the ISR disable/enable was the big hammer which ensured system-wide mutual exclusion. On SMP configurations this no longer works since other processors do not care about disabled interrupts on this processor and continue to execute freely. On SMP in addition to ISR disable/enable an SMP lock must be used. Currently we have only the Giant lock so we can check easily that ISR disable/enable is used only in the right context.
* sapi: SMP support for chainsSebastian Huber2013-08-301-8/+20
| | | | | | | | Add ISR lock to chain control for proper SMP protection. Replace rtems_chain_extract() with rtems_chain_explicit_extract() and rtems_chain_insert() with rtems_chain_explicit_insert() on SMP configurations. Use rtems_chain_explicit_extract() and rtems_chain_explicit_insert() to provide SMP support.
* sptests/spthreadq01: Add SMP supportSebastian Huber2013-08-271-2/+6
|
* sptests/spnsext01: Add SMP supportSebastian Huber2013-08-271-2/+3
|
* score: Add and use CHAIN_INITIALIZER_ONE_NODE().Sebastian Huber2013-08-271-0/+26
| | | | | | Add and use CHAIN_NODE_INITIALIZER_ONE_NODE_CHAIN(), RTEMS_CHAIN_INITIALIZER_ONE_NODE() and RTEMS_CHAIN_NODE_INITIALIZER_ONE_NODE_CHAIN().
* sptests/spintrcritical20: PR2140: New testSebastian Huber2013-08-236-0/+204
|
* Fix a bug in spfreechain01 test case.Zhongwei Yao2013-08-111-2/+2
|