summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* RTEMS: Delete ChangeLog files.Gedare Bloom2013-03-081-3438/+0
| | | | | | | | | This commit deletes all RTEMS ChangeLog files. These files have been abandoned since converting to git version control. The historical data may be recovered by checking out any commit before this one. Most of the contents of these ChangeLog files can also be found in the git log. Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
* Introduce AM_CONDITIONAL ATOMIC.Ralf Corsépius2013-02-147-14/+28
|
* Introduce AM_CONDITIONAL ATOMIC, cpuopt RTEMS_ATOMIC.Ralf Corsépius2013-02-141-0/+4
|
* sptests/spfatal11: Update due to API changesSebastian Huber2013-02-122-5/+22
|
* score: Add and use rtems_assert_contextSebastian Huber2013-02-122-5/+31
|
* tests: atomic support for RTEMS. Uniprocessor tests for atomic ops.WeiY2013-02-0742-0/+2563
|
* score: atomic support for RTEMS automake and autoconf changesWeiY2013-02-072-1/+10
|
* testsuites: Fix prototypesSebastian Huber2013-01-272-7/+6
|
* testsuites: Use rtems_fatal_source_description()Sebastian Huber2013-01-272-15/+3
|
* sapi: Add rtems_fatal_source_description()Sebastian Huber2013-01-072-2/+32
|
* rtems: Critical fix for eventsSebastian Huber2013-01-072-23/+289
| | | | | | | Commit 4b45c1393ce4ee3e1c2762ef3145d2bd6b5b38da marked a test in _Event_Timeout() as debug only. This test is required also in non-debug configurations since otherwise state corruption can happen. A revised test sptests/spintrcritical10 checks the relevant sequences.
* sptests/spintrcritical16: Fix NULL pointer accessSebastian Huber2013-01-021-1/+4
|
* sptests/speventsystem01: Add test casesSebastian Huber2012-12-221-0/+34
|
* score: Add _Objects_Active_count()Sebastian Huber2012-12-213-1/+10
|
* score: Add rtems_chain_node_count_unprotected()Sebastian Huber2012-12-213-1/+23
|
* score: rtems_initialize_start_multitasking()Sebastian Huber2012-12-071-1/+1
| | | | | | | | | Do not return from rtems_initialize_start_multitasking() and call rtems_fatal() instead with a fatal source of RTEMS_FATAL_SOURCE_EXIT and a fatal code with the exit status. Remove all bsp_cleanup() functions. The boot_card() is now a no return function.
* score: Add CPU_Exception_frameSebastian Huber2012-11-276-0/+119
| | | | | | | | | | | | | | | | | | | | | 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.
* score: Add and use <rtems/score/userextimpl.h>Sebastian Huber2012-11-221-1/+1
| | | | | This file contains the parts of <rtems/score/userext.h> that are only necessary for the RTEMS implementation.
* sptests/spcbssched02: PR2081: WorkaroundSebastian Huber2012-11-211-8/+10
| | | | | Avoid uninitialized stack variable. This is not a proper fix. It is not clear what the task should do if argument != 1.
* rtems: Add rtems_clock_get_uptime_seconds()Sebastian Huber2012-11-212-0/+4
|
* rtems: Add rtems_clock_get_uptime_timeval()Sebastian Huber2012-11-212-0/+4
|
* score: Add RTEMS_FATAL_SOURCE_ASSERTSebastian Huber2012-11-152-4/+6
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-3/+0
| | | | | | | Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
* score: Add INTERNAL_ERROR_CPU_ISR_INSTALL_VECTORSebastian Huber2012-11-152-1/+2
| | | | | Use INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR on PowerPC for _CPU_ISR_install_vector().
* sapi: Add and use rtems_internal_error_descriptionSebastian Huber2012-11-157-31/+122
|
* sptests/spfatal24: Fix NULL pointer accessSebastian Huber2012-11-151-10/+4
|
* testsuites: Include <bsp.h>Sebastian Huber2012-11-141-0/+2
| | | | | Include <bsp.h> for proper BSP specific <rtems/confdefs.h> initialization.
* sptests/spintrcritical09: Fix check orderSebastian Huber2012-11-131-17/+25
| | | | | | The critical section check never succeeded since watchdogs are ordered with respect to the insertion time. Now we call the watchdog routine if appropriate and bypass the normal watchdog mechanic.
* sptests/spinternalerror01: New testSebastian Huber2012-11-136-0/+121
|
* sptests/spfatal08: SimplifySebastian Huber2012-11-071-33/+1
|
* sptests/spfatal07: Use confdefs.h to trigger testSebastian Huber2012-11-071-4/+5
|
* rtems: Add system eventsSebastian Huber2012-10-3010-0/+302
| | | | | | | System events are similar to normal events. They offer a second set of events. These events are intended for internal RTEMS use and should not be used by applications (with the exception of the transient system event).
* score: Work area initialization API changeSebastian Huber2012-10-2512-102/+34
| | | | | | | | | | | | The work areas (RTEMS work space and C program heap) will be initialized now in a separate step and are no longer part of rtems_initialize_data_structures(). Initialization is performed with tables of Heap_Area entries. This allows usage of scattered memory areas present on various small scale micro-controllers. The sbrk() support API changes also. The bsp_sbrk_init() must now deal with a minimum size for the first memory chunk to take the configured work space size into account.
* sptests/sp39: Increase clock tick intervalSebastian Huber2012-10-151-1/+1
| | | | | Not every BSP supports a 250 micro seconds clock tick interval. For example PSIM.
* Use proper 3 line form of license textJoel Sherrill2012-10-111-3/+0
|
* Cleanup Krzysztof's copyright notices.Ralf Corsépius2012-10-113-4/+4
|
* score: Critical fix for thread dispatchingSebastian Huber2012-10-076-1/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The changes in _Thread_Dispatch() of commits dad36c52b8be5d7b46bc7af85655055db7208652 and d4dc7c8196355f08044e67a3f5c1e19485f17ff1 introduced a severe bug which destroys the real-time properties of RTEMS completely. Consider the following scenario. We have three tasks L (lowest priority), M (middle priority), and H (highest priority). Now let a thread dispatch from M to L happen. An interrupt occurs in _Thread_Dispatch() here: void _Thread_Dispatch( void ) { [...] post_switch: _ISR_Enable( level ); <-- INTERRUPT <-- AFTER INTERRUPT _Thread_Unnest_dispatch(); _API_extensions_Run_postswitch(); } The interrupt event makes task H ready. The interrupt code will see _Thread_Dispatch_disable_level > 0 and thus doesn't perform a _Thread_Dispatch(). Now we return to position "AFTER INTERRUPT". This means task L executes now although task H is ready! Task H will execute once someone calls _Thread_Dispatch().
* timespec helpers: Add wrappers with new testKrzysztof Mięsowicz2012-08-296-1/+316
|
* sp77: new test to cover allocated message size overflowingKrzysztof Mięsowicz2012-08-296-1/+102
| | | | Author: Krzysztof Mięsowicz <krzysztof.miesowicz@gmail.com>
* Revert "Add config.h.in."Gedare Bloom2012-08-061-55/+0
| | | | This reverts commit cf42a6ea9dbb6ebee498ae8db319d3e475bcd6be.
* Require automake-1.12.2.Ralf Corsépius2012-07-191-1/+1
|
* Require autoconf-2.69.Ralf Corsépius2012-07-191-1/+1
|
* score: Change greedy allocation APISebastian Huber2012-07-172-3/+3
|
* score: New structure TOD_ControlSebastian Huber2012-06-141-2/+2
| | | | | Group the global TOD variables (_TOD_Now, _TOD_Uptime, and _TOD_Is_set) in a structure to reduce address loads in _TOD_Tickle_ticks().
* sptests - Eliminate missing prototype warningsJoel Sherrill2012-05-3171-106/+388
|
* Add config.h.in.Ralf Corsépius2012-05-241-0/+55
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-11607-1682/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* spqreslib - Make global data extern in system.hJoel Sherrill2012-05-092-8/+12
| | | | | | Global data was declared in system.h but should have been extern in system.h and declared in init.c. There were duplicate symbol linking errors on at least powerpc/mpc8260ads.
* rbtree: API changes. Remove rbtree control node from RBTree_Next.Gedare Bloom2012-05-081-2/+2
| | | | | | | | | | | | The implementation of RBTree_Next was using an awkward construction to detect and avoid accessing the false root of the red-black tree. To deal with the false root, RBTree_Next was comparing node parents with the control node. Instead the false root can be detected by checking if the grandparent of a node exists; the grandparent of the tree's true root is NULL by definition so the root of the tree is found while walking up the tree by checking for the non-existence of a grandparent. This change propagates into the predecessor/successor and iterate functions.
* Revert: Remove CVS IdsJoel Sherrill2012-05-07158-0/+774
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.