summaryrefslogtreecommitdiffstats
path: root/testsuites (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.
* smptests: Delete config.h.inSebastian Huber2014-03-061-19/+0
|
* score: Delete _Thread_Dispatch_set_disable_level()Sebastian Huber2014-03-063-10/+5
| | | | | This function was only used in some tests and can be replaced with other functions.
* tmtests/tm26: Fix deadlock for SMP configurationsSebastian Huber2014-03-061-1/+2
| | | | | Some _Context_Switch() invocations end up in _Thread_Handler(). Create the right context for this function.
* score: Add _Atomic_Fence()Sebastian Huber2014-03-062-19/+70
|
* libnetworking: TypoSebastian Huber2014-03-061-1/+21
|
* score: Add and use _Giant_Drop()Sebastian Huber2014-03-066-0/+177
| | | | New test smptests/smpfatal03.
* score: SMP initialization and shutdown changesSebastian Huber2014-03-0610-0/+335
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename _SMP_Request_other_cores_to_perform_first_context_switch() into _SMP_Request_start_multitasking() since this requests now a multitasking start on all configured and available processors. The name corresponds _Thread_Start_multitasking() and _SMP_Start_multitasking_on_secondary_processor() actions issued in response to this request. Move in source file to right place. Rename PER_CPU_STATE_READY_TO_BEGIN_MULTITASKING into PER_CPU_STATE_READY_TO_START_MULTITASKING. Rename PER_CPU_STATE_BEGIN_MULTITASKING into PER_CPU_STATE_REQUEST_START_MULTITASKING. Rename _SMP_Request_other_cores_to_shutdown() into _SMP_Request_shutdown(). Add a per-CPU state lock to protect all changes. This was necessary to offer a controlled shutdown of the system (atomic read/writes alone are not sufficient for this kind of synchronization). Add documentation for Per_CPU_State. Delete debug output. New tests smptests/smpfatal01 and smptests/smpfatal02.
* tmtests/tmcontext01: New testSebastian Huber2014-02-287-0/+598
|
* 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: _CPU_SMP_Get_current_processor()Sebastian Huber2014-02-212-18/+64
| | | | | | | Remove RTEMS_COMPILER_PURE_ATTRIBUTE from _SMP_Get_current_processor() and all _CPU_SMP_Get_current_processor(). Make inline ASM statements volatile again. Test smptests/smpmigration01 showed that GCC optimizes too much otherwise.
* 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-192-2/+2
| | | | | | 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().
* smptests: Add check for affinity support in newlib.Jennifer Averett2014-02-171-0/+21
|
* psxtests: Correct bug in check of affinity support in newlib.Jennifer Averett2014-02-171-6/+16
|
* score: Add SMP barrierSebastian Huber2014-02-172-98/+16
|
* smptests/smplock01: Use atomic operationsSebastian Huber2014-02-171-57/+41
|
* Require presence of <stdatomic.h> for SMP supportSebastian Huber2014-02-172-4/+0
|
* score: Add Atomic_UintSebastian Huber2014-02-141-0/+54
|
* 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.
* testsuites: Add TESTS_USE_PRINTFSebastian Huber2014-02-121-0/+16
| | | | | Make it possible to use normal printf() if requested to allow output of floating point numbers.
* score: Change debug helper functionsSebastian Huber2014-02-123-28/+28
| | | | | | | | 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 _Heap_Size_with_overhead()Sebastian Huber2014-02-042-0/+21
|
* score: Add _Workspace_Allocate_aligned()Sebastian Huber2014-02-043-0/+18
|
* libtests/block11: Use custom device driverSebastian Huber2014-02-031-3/+36
|
* testsuite/psx13: Add linefeed to end of test message.Chris Johns2014-01-191-2/+2
| | | | | | The lack of a line feed means the output from the test runs into the MI protocol on GDB as the broken simulator output currently is not passing through gdb's MI protocol layer.
* testsuite/rtems++: Output format change.Chris Johns2014-01-102-101/+104
| | | | | | Alter the output to avoid sending out what is the MI protocol. The SIS simulator is currently broken and outputs directly to GDB's stdout and so this output gets parsed as MI output.
* spsize/size.c: Fix typo.HailinGuo2014-01-091-4/+8
| | | | From pull request at https://github.com/hazirguo/rtems/commit/fc07a4c501ffebe406464eb9b8dd2097adfd5e60
* libtests: Add contents to rbheap and stackchk documentation filesCynthia Rempel2014-01-093-5/+183
|
* tmtests: Add contents to multiple documentation filesCynthia Rempel2014-01-0929-60/+306
|
* libtests/termios01: Add tests for cfsetspeed() and cfmakeraw()Daniel Ramirez2014-01-093-3/+106
|
* libtests/uid01: Fix Copyright informationDaniel Ramirez2014-01-094-15/+20
|
* libtests: added test to confirm patch fixes bugDaniel Ramirez2014-01-097-1/+268
|
* sp16, sp17, and sp20: Documentation FixesToma Radu2014-01-083-19/+27
| | | | Fix the documentation for the sp16, sp17 and sp20 tests.
* fstests and libtests: Add contents to multiple documentation filesCynthia Rempel2014-01-088-15/+217
|
* rhealstone: Add start end and messagesJoel Sherrill2014-01-076-0/+18
|
* psximfs02: Clean up outputJoel Sherrill2014-01-072-3/+4
|
* spfifo02: Clean up outputJoel Sherrill2014-01-072-7/+61
|