summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Add RTEMS_FATAL_SOURCE_STACK_CHECKERSebastian Huber2012-11-151-5/+2
|
* score: Add RTEMS_FATAL_SOURCE_ASSERTSebastian Huber2012-11-152-4/+6
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-153-23/+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-158-62/+123
|
* sptests/spfatal24: Fix NULL pointer accessSebastian Huber2012-11-151-10/+4
|
* testsuites: Include <bsp.h>Sebastian Huber2012-11-145-0/+10
| | | | | 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.
* fstests/fsrfsbitmap01: Fix NULL pointer accessSebastian Huber2012-11-136-90/+67
| | | | Move test files into one directory.
* samples/fileio: Add DOSFS and RFS on demandSebastian Huber2012-11-131-6/+10
|
* sptests/spinternalerror01: New testSebastian Huber2012-11-136-0/+121
|
* libtests/devfs03: Initialize nodesSebastian Huber2012-11-071-0/+2
|
* sptests/spfatal08: SimplifySebastian Huber2012-11-071-33/+1
|
* sptests/spfatal07: Use confdefs.h to trigger testSebastian Huber2012-11-071-4/+5
|
* libblock: Block device transfer request API changeSebastian Huber2012-11-029-60/+67
| | | | | | | | | | | | | | Add and use rtems_blkdev_request_done(). Block device transfer requests must signal the completion status now with rtems_blkdev_request_done(). The return value of the block device IO control will be ignored for transfer requests. The first parameter of rtems_blkdev_request_cb is now the transfer request structure. Renamed rtems_blkdev_request::req_done to rtems_blkdev_request::done to break third party drivers at compile time, otherwise this API change would result in runtime errors.
* 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).
* libblock: rtems_bdbuf_set_block_size() API changeSebastian Huber2012-10-262-2/+2
| | | | | | | The set block size must synchronize and purge the disk to avoid an inconsistent cache state and data corruption. The synchronization is optional depending on the new sync parameter. In some contexts a synchronization must not be performed, e.g. during disk creation.
* libtests/block16: New testSebastian Huber2012-10-266-0/+187
|
* score: Work area initialization API changeSebastian Huber2012-10-2514-118/+70
| | | | | | | | | | | | 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.
* score: Append to free list in _Heap_Extend()Sebastian Huber2012-10-251-0/+42
|
* score: Change _Heap_Extend() APISebastian Huber2012-10-251-0/+7
| | | | | | | | | | | | | | The _Heap_Extend() has now the same signature as _Heap_Initialize(). The 4th parameter is ignored (page size in _Heap_Initialize()). Add Heap_Area and Heap_Initialization_or_extend_handler. Add and test _Heap_No_extend(). This helps to do a table based heap initialization and extension. Create a table of Heap_Area elements and iterate through it. Set the handler to _Heap_Initialize() in the first iteration and then to _Heap_Extend().
* Make tems_rfs_bitmap_ut_test_range, rtems_rfs_bitmap_ut_alloc_seq_test, ↵Ralf Corsépius2012-10-151-6/+6
| | | | rtems_rfs_bitmap_ut_test_bitmap, rtems_rfs_bitmap_unit_test, nullpointer_test, open_failure static.
* Remove unused var "sc".Ralf Corsépius2012-10-151-1/+0
|
* Remove unused var "service". Move #include "test-http-client.h" after ↵Ralf Corsépius2012-10-151-2/+2
| | | | std-header inclusion.
* Move extern "C" after std-header inclusions.Ralf Corsépius2012-10-151-4/+4
|
* Use %zd instead of %d to print size_t'sRalf Corsépius2012-10-151-1/+1
|
* 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
|
* Use %zu instead of %lu to print size_t's.Ralf Corsépius2012-10-111-1/+1
|
* Cleanup Krzysztof's copyright notices.Ralf Corsépius2012-10-117-11/+11
|
* fstests/fsimfsgeneric01: Avoid global stateSebastian Huber2012-10-071-4/+3
|
* Filesystem: Reject removal of root nodesSebastian Huber2012-10-071-4/+1
| | | | | | | Reject the removal of file system instance root nodes in rmdir() and unlink() and return the EBUSY error status. File system instances can be removed with unmount(). Remove root node special cases in IMFS, DOSFS, and RFS.
* 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().
* mghttpd: Requires POSIX to build server and testsJoel Sherrill2012-10-032-0/+4
| | | | | | Formerly, mghttpd was conditional only on networking being enabled. It uses on pthread and must also be conditional on POSIX threads support being enabled.
* fsrfsbitmap01/test.c: Remove tabsJoel Sherrill2012-10-011-7/+8
|
* misc fstests: Remove spaces at EOLJoel Sherrill2012-10-016-21/+16
|
* New fstest to cover RFS bitmaps - fsrfsbitmap01Krzysztof Miesowicz2012-10-016-0/+743
|
* new fstest hitting fpathconf functionKrzysztof Miesowicz2012-10-016-0/+171
|
* 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-068-523/+0
| | | | This reverts commit cf42a6ea9dbb6ebee498ae8db319d3e475bcd6be.
* Remove CVS-Ids.Ralf Corsépius2012-07-191-2/+0
|
* Remove CVS-Ids.Ralf Corsépius2012-07-191-5/+0
|
* Require automake-1.12.2.Ralf Corsépius2012-07-1912-12/+12
|
* Require autoconf-2.69.Ralf Corsépius2012-07-1912-12/+12
|
* psxtests/psxchroot01: TypoSebastian Huber2012-07-171-1/+1
|
* psxtests/psxpipe01: Use greedy allocation APISebastian Huber2012-07-171-3/+4
|
* libtests/termios01: Use greedy allocation APISebastian Huber2012-07-172-36/+22
|
* score: Change greedy allocation APISebastian Huber2012-07-1710-25/+34
|
* libtests/mghttpd01: New testChristian Mauderer2012-07-129-0/+470
|