summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* tests: Fix warningsSebastian Huber2015-03-052-3/+3
|
* score: ISR lock C/C++ compatiblity issueSebastian Huber2015-03-041-2/+2
| | | | | | | | | | Empty structures are implementation-defined in C. GCC gives them a size of zero. In C++ empty structures have a non-zero size. Add ISR_LOCK_DEFINE() to define ISR locks for structures used by C and C++. Update #2273.
* sptests/sp76: Check that the right task executesSebastian Huber2015-02-261-8/+11
|
* sptests: Add missing test extensionSebastian Huber2015-02-193-0/+6
|
* score: Make <rtems/score/atomic.h> availableSebastian Huber2015-02-196-0/+321
| | | | | | | | Make <rtems/score/atomic.h> available for all RTEMS configurations. Use inline functions instead of macros. Use ISR disable/enable on uni-processor configurations to ensure atomicity. Update #2273.
* IMFS: Add fine grained configurationSebastian Huber2015-02-122-4/+0
| | | | | | | | | | | | | | | | | | Remove miniIMFS. Statically initialize the root IMFS. Add configuration options to disable individual features of the root IMFS, e.g. o CONFIGURE_IMFS_DISABLE_CHOWN, o CONFIGURE_IMFS_DISABLE_FCHMOD, o CONFIGURE_IMFS_DISABLE_LINK, o CONFIGURE_IMFS_DISABLE_MKNOD, o CONFIGURE_IMFS_DISABLE_MOUNT, o CONFIGURE_IMFS_DISABLE_READLINK, o CONFIGURE_IMFS_DISABLE_RENAME, o CONFIGURE_IMFS_DISABLE_RMNOD, o CONFIGURE_IMFS_DISABLE_SYMLINK, o CONFIGURE_IMFS_DISABLE_UNMOUNT, and o CONFIGURE_IMFS_DISABLE_UTIME.
* Filesystem: Simplify FIFO and pipe configurationSebastian Huber2015-02-094-6/+0
|
* Filesystem: Statically initialize rtems_libio_iopsSebastian Huber2015-02-046-70/+1
|
* powerpc: Delete _CPU_IRQ_infoSebastian Huber2015-01-091-2/+1
|
* Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber2014-12-1617-30/+0
| | | | This define was superfluous, undocumented and used inconsistently.
* Update bug report URLSebastian Huber2014-12-051-1/+1
|
* sptests: Add get_one_tick_busy_value()Sebastian Huber2014-12-031-29/+38
| | | | | Extract this function from interrupt_critical_section_test_support_initialize().
* spcpuset01: fix test commentsDaniel Hellstrom2014-12-023-70/+70
|
* rtems: Add rtems_cache_coherent_allocate()Sebastian Huber2014-11-273-0/+51
| | | | Add rtems_cache_coherent_free() and rtems_cache_coherent_add_area().
* rtems: Move rtems_cache_aligned_malloc()Sebastian Huber2014-11-253-0/+33
| | | | | | Make sure also the size is cache aligned since otherwise we may have some overlap with the next allocation block. A cache invalidate on this area would be fatal.
* sptest/spcache01: New test casesSebastian Huber2014-11-251-0/+4
|
* Delete or rename MIN/MAX macros and definesSebastian Huber2014-11-212-6/+5
| | | | Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
* testsuites: Avoid clock driverSebastian Huber2014-10-141-1/+1
|
* score: Rework global constructionSebastian Huber2014-10-137-1/+101
| | | | | | Ensure that the global construction is performed in the context of the first initialization thread. On SMP this was not guaranteed in the previous implementation.
* sptests/spintrcritical22: New testSebastian Huber2014-09-196-0/+176
|
* sptests/sp07: Minimize thread dispatch latencySebastian Huber2014-09-1611-157/+71
| | | | | | Do not use sprintf() in thread dispatch critical sections to avoid corruption of profiling samples. Update test to reflect thread the life cycle changes.
* sptests/spintrcritical_support: Optimize busy loopSebastian Huber2014-09-121-3/+4
|
* sptests/spintrcritical10: Avoid undefined memorySebastian Huber2014-09-121-0/+3
|
* sptests/spfatal07: Fix end of test messageSebastian Huber2014-09-101-1/+1
|
* sptests/sp39: Convert to sptests/spintrcritical21Sebastian Huber2014-09-108-105/+83
| | | | | Use interrupt critical section test support. Do not print end of test message in case of failure.
* tests: Rework interrupt critical testsSebastian Huber2014-09-1013-267/+485
| | | | | | | | | This avoids test durations of more than one hour on fast targets, since fast targets can count a lot during one clock tick period, so the minor loop iteration count was quite high. Estimate now the test body duration to iterate only through the interesting time window. Add and use interrupt_critical_section_test().
* sptests/spcontext01: Fix warningSebastian Huber2014-09-081-1/+1
|
* spcpuset01: Use %zd for size_t to eliminate warningJoel Sherrill2014-09-042-6/+6
|
* spfreechain01/init.c: Use %zd for size_t to eliminate warningJoel Sherrill2014-09-041-2/+2
|
* sp19: Eliminate warningsJoel Sherrill2014-09-042-39/+16
|
* raspberrypi: Use shared bspreset.cJoel Sherrill2014-09-041-33/+32
|
* tests: Add documentationSebastian Huber2014-09-012-3/+16
|
* rtems: Add more clock tick functionsSebastian Huber2014-08-263-0/+64
| | | | | Add rtems_clock_tick_later(), rtems_clock_tick_later_usec() and rtems_clock_tick_before().
* sptests/spcache01: Make inline assembly conditional to account for OpenRISC ↵Hesham ALMatary2014-08-251-1/+5
| | | | l.nop instruction.
* score: PR2179: Fix initially locked PI mutexSebastian Huber2014-08-202-0/+39
|
* sptests/sprbtree01: Add random ops test caseSebastian Huber2014-08-082-1/+832
|
* rbtree: Simplify insert and extractSebastian Huber2014-08-071-10/+4
| | | | | | | Simplify _RBTree_Insert() and _RBTree_Extract(). Remove more superfluous NULL pointer checks. Change _RBTree_Is_root() to use only the node. Add parent parameter to _RBTree_Sibling(). Delete _RBTree_Grandparent() and _RBTree_Parent_sibling().
* rbtree: Simplify _RBTree_Rotate()Sebastian Huber2014-08-071-1/+0
| | | | Add and use _RBTree_Direction().
* sptests/sprbtree01: Check tree layoutSebastian Huber2014-08-051-0/+620
|
* sptests/sprbtree01: Reduce stack usageSebastian Huber2014-08-051-1/+2
|
* rbtree: Add and use RBTree_Compare_resultSebastian Huber2014-08-051-1/+1
|
* Add and use RTEMS_CONTAINER_OF()Sebastian Huber2014-08-051-22/+22
|
* rbtree: Rename find header in find controlSebastian Huber2014-07-292-8/+3
| | | | Simplify _RBTree_Find_control(). Avoid superfluous NULL pointer checks.
* rbtree: Simplify off-tree handlingSebastian Huber2014-07-291-4/+4
| | | | | | | Only use the parent pointer, since this pointer is never NULL for nodes which are part of a tree. Rename functions from *_off_rbtree() to *_off_tree().
* rbtree: Update maximum node in LIFO orderSebastian Huber2014-07-262-9/+107
| | | | | | The test sptests/sp35 showed a NULL pointer access due to an invalid maximum node field (e.g. a tree with one element and NULL as the maximum node).
* rbtree: Do not set node off-tree in extractSebastian Huber2014-07-221-4/+5
|
* rbtree: Remove superfluous NULL pointer checksSebastian Huber2014-07-221-3/+0
|
* rbtree: Reduce RBTree_Control sizeSebastian Huber2014-07-151-43/+65
| | | | | | | | | | | | Remove compare function and is unique indicator from the control structure. Rename RBTree_Compare_function to RBTree_Compare. Rename rtems_rbtree_compare_function to rtems_rbtree_compare. Provide C++ compatible initializers. Add compare function and is unique indicator to _RBTree_Find(), _RBTree_Insert(), rtems_rbtree_find() and rtems_rbtree_insert(). Remove _RBTree_Is_unique() and rtems_rbtree_is_unique(). Remove compare function and is unique indicator from _RBTree_Initialize_empty() and rtems_rbtree_initialize_empty().
* sp59: Fix typosJoel Sherrill2014-07-142-3/+3
|
* sptests/spcontext01: Avoid NULL pointer accessSebastian Huber2014-07-011-1/+15
|