summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Add SMP lock profiling supportSebastian Huber2014-03-144-9/+97
|
* sapi: Add per-CPU profiling application level dataSebastian Huber2014-03-141-1/+9
|
* sapi: Add profiling application level supportSebastian Huber2014-03-146-0/+100
|
* score: Add function to destroy SMP locksSebastian Huber2014-03-113-0/+10
|
* score: Add local context to SMP lock APISebastian Huber2014-03-113-36/+40
| | | | | | | | | | | Add a local context structure to the SMP lock API for acquire and release pairs. This context can be used to store the ISR level and profiling information. It may be later used to enable more sophisticated lock algorithms, e.g. MCS locks. There is only one lock that cannot be used with a local context. This is the per-CPU lock since here we would have to transfer the local context through a context switch which is very complicated.
* sapi: Use one SMP lock for all chainsSebastian Huber2014-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This partially reverts commit 1215fd4d9426a59d568560e9a485628560363133. In order to support profiling of SMP locks and provide a future compatible SMP locks API it is necessary to add an SMP lock destroy function. Since the commit above adds an SMP lock to each chain control we would have to add a rtems_chain_destroy() function as well. This complicates the chain usage dramatically. Thus revert the patch above. A global SMP lock for all chains is used to implement the protected chain operations. Advantages: * The SAPI chain API is now identical on SMP and non-SMP configurations. * The size of the chain control is reduced and is then equal to the Score chains. * The protected chain operations work correctly on SMP. Disadvantage: * Applications using many different chains and the protected operations may notice lock contention. The chain control size drop is a huge benefit (SAPI chain controls are 66% larger than the Score chain controls). The only disadvantage is not really a problem since these applications can use specific interrupt locks and unprotected chain operations to avoid this issue.
* printk: Add support for long longSebastian Huber2014-03-112-0/+49
|
* Remove trailing whitespace in previous patchesJennifer Averett2014-03-072-6/+6
|
* 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
|