summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove CVS-Ids.Ralf Corsépius2012-05-0416-41/+0
|
* Remove CVS-Ids.Ralf Corsépius2012-05-044-12/+0
|
* Remove CVS-Ids.Ralf Corsépius2012-05-0434-166/+0
|
* Remove CVS-Ids.Ralf Corsépius2012-05-04158-774/+0
|
* Remove CVS-Ids.Ralf Corsépius2012-05-0411-51/+0
|
* Remove CVS-Ids.Ralf Corsépius2012-05-0417-78/+0
|
* Remove CVS-Ids.Ralf Corsépius2012-05-0433-161/+0
|
* Remove CVS-Ids.Ralf Corsépius2012-05-0484-400/+0
|
* Remove CVS-Ids.Ralf Corsépius2012-05-0444-174/+0
|
* Remove CVS-Ids.Ralf Corsépius2012-05-0456-261/+0
|
* Remove CVS-Ids.Ralf Corsépius2012-05-0427-131/+0
|
* Remove.Ralf Corsépius2012-05-041-0/+0
|
* psxaio01/psxaio02 - Formatting correctionsJoel Sherrill2012-05-032-18/+18
| | | | | The file header was moved over one space. These two were the only files in the testsuite which did this.
* sp07/buffered_io.c add missing copyrightJoel Sherrill2012-05-031-1/+6
| | | | Date and ownership determined from file history.
* smp08 screen replacementJoel Sherrill2012-04-241-16/+29
|
* PR1908: consolidate libqos code and fix installed header locationGedare Bloom2012-04-231-1/+1
|
* rbheap: API changes and documentationSebastian Huber2012-04-181-38/+51
|
* PR1908: QoS library for CBS schedulerPetr Benes2012-04-156-0/+507
| | | | Add the lipqos and sptest.
* PR1908: QoS library for CBS schedulerPetr Benes2012-04-152-1/+2
| | | | | | | Since the CBS scheduler is inspired by AQuoSA project for Linux, additional API (qreslib) compliant with Linux has been created. Sptest for qreslib included.
* rbtree: PR2046: Replace rtems_rbtree_uniqueSebastian Huber2012-04-131-5/+3
|
* rbheap: New filesSebastian Huber2012-04-116-0/+605
| | | | | | | In the Red-Black Tree Heap the administration data structures are not contained in the managed memory area. This can be used for example in a task stack allocator which protects the task stacks from access by other tasks.
* rbtree: PR1995: API changeSebastian Huber2012-04-111-2/+2
| | | | | | | | | | | | | | | | New functions o _RBTree_Next_unprotected(), o _RBTree_Next(), o _RBTree_Successor_unprotected(), o _RBTree_Predecessor_unprotected(), o rtems_rbtree_successor_unprotected(), and o rtems_rbtree_predecessor_unprotected(). Change prototype of o _RBTree_Successor(), o _RBTree_Predecessor(), o rtems_rbtree_successor(), and o rtems_rbtree_predecessor().
* networking: socket to/from file descriptorSebastian Huber2012-04-036-0/+149
| | | | | | | | | | o Move rtems_bsdnet_fdToSocket() and rtems_bsdnet_makeFdForSocket() to "cpukit/libnetworking/rtems/rtems_syscall.c". o The rtems_bsdnet_makeFdForSocket() function is now static. o Check in rtems_bsdnet_fdToSocket() function that the file descriptor uses the socket handlers, otherwise an error status will be returned and errno set to ENOTSOCK. o New test libtests/syscall01.
* PR1994: RBTree Compare Result ChangeGedare Bloom2012-03-291-5/+3
| | | | | Change the meaning of the compare result to simplify comparison of integer keys.
* confdefs: Add declaration for unlimited objects.Gedare Bloom2012-03-271-1/+2
| | | | | | | | | Adds to confdefs a way to specify rtems_resource_unlimited for classic and posix objects using a new macro CONFIGURE_OBJECTS_UNLIMITED. Use CONFIGURE_OBJECTS_ALLOCATION_SIZE to declare the allocation size for extending the set of objects at runtime. Updates the unlimited sample to demonstrate how to use the new macros. Also adds new documentation in the C User's Manual regarding configuring with unlimited objects.
* libtests/block06: Increase stack sizeSebastian Huber2012-03-261-0/+2
|
* PR2040: libtests/flashdisk01: New testSebastian Huber2012-03-148-0/+1534
|
* fstests/fsbdpart01: New testSebastian Huber2012-03-136-0/+281
|
* libblock: Add generic IMFS block device nodesSebastian Huber2012-03-136-1/+443
| | | | | | | | New functions o rtems_blkdev_create(), and o rtems_blkdev_create_partition(). New test libtests/block11.
* libblock: Change bdbuf APISebastian Huber2012-03-1325-207/+242
| | | | | | | | | | | | | | | | | | | | The functions o rtems_bdbuf_get(), o rtems_bdbuf_read(), o rtems_bdbuf_syncdev(), and o rtems_bdbuf_purge_dev(), use now the disk device instead of the device identifier. This makes bdbuf independent of rtems_disk_obtain() and rtems_disk_release(). It is the responsiblity of the file system to obtain the disk device. This also reduces the overhead to get a buffer. The key for the AVL tree uses now the disk device instead of the device identifier. The pointer is interpreted as an unsigned integer. This reduces the memory overhead and makes the comparison operation a bit faster. Removed function rtems_bdbuf_purge_major(). This function was too destructive and could have unpredictable side effects.
* libblock: New block IO control support functionsSebastian Huber2012-03-131-6/+74
|
* IMFS: Add make generic node supportSebastian Huber2012-03-136-0/+443
| | | | | | | | | | | | | | | | | | | | | | Generic nodes are an alternative to standard drivers in RTEMS. The handlers of a generic node are called with less overhead compared to the standard driver operations. The usage of file system node handlers enable more features like support for fsync() and fdatasync(). The generic nodes use the reference counting of the IMFS. This provides automatic node destruction when the last reference vanishes. Extend type IMFS_types_union by new type IMFS_generic_t. Extend enum IMFS_jnode_types_t by IMFS_GENERIC. Add functions o IMFS_make_generic_node(), o IMFS_is_imfs_instance(), o IMFS_generic_get_context_by_node(), o IMFS_generic_get_context_by_location(), and o IMFS_generic_get_context_by_iop(). New test fstests/fsimfsgeneric01.
* IMFS: Do not check for unsupported typesSebastian Huber2012-03-131-1/+23
| | | | | Allow creation of nodes with an unsupported type. Later the usage of such nodes will return an error status.
* Filesystem: Read-only file system checksSebastian Huber2012-03-136-8/+251
| | | | | | | o Make sure EROFS is indicated for write operations on a read-only file system. o Add error indication for read-only file systems in fchmod() and fchown() according to POSIX.
* Filesystem: Reference counting for locationsSebastian Huber2012-03-1321-319/+631
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o A new data structure rtems_filesystem_global_location_t was introduced to be used for o the mount point location in the mount table entry, o the file system root location in the mount table entry, o the root directory location in the user environment, and o the current directory location in the user environment. During the path evaluation global start locations are obtained to ensure that the current file system instance will be not unmounted in the meantime. o The user environment uses now reference counting and is protected from concurrent access. o The path evaluation process was completely rewritten and simplified. The IMFS, RFS, NFS, and DOSFS use now a generic path evaluation method. Recursive calls in the path evaluation have been replaced with iteration to avoid stack overflows. Only the evaluation of symbolic links is recursive. No dynamic memory allocations and intermediate buffers are used in the high level path evaluation. No global locks are held during the file system instance specific path evaluation process. o Recursive symbolic link evaluation is now limited by RTEMS_FILESYSTEM_SYMLOOP_MAX. Applications can retrieve this value via sysconf(). o The device file system (devFS) uses now no global variables and allocation from the workspace. Node names are allocated from the heap. o The upper layer lseek() performs now some parameter checks. o The upper layer ftruncate() performs now some parameter checks. o unmask() is now restricted to the RWX flags and protected from concurrent access. o The fchmod_h and rmnod_h file system node handlers are now a file system operation. o The unlink_h operation has been removed. All nodes are now destroyed with the rmnod_h operation. o New lock_h, unlock_h, clonenod_h, and are_nodes_equal_h file system operations. o The path evaluation and file system operations are now protected by per file system instance lock and unlock operations. o Fix and test file descriptor duplicate in fcntl(). o New test fstests/fsnofs01.
* PR2034: sprbtree01: predecessor/successor imprecisionGedare Bloom2012-03-041-2/+2
| | | | | | | The tests for the rtems_rbtree_predecessor/successor check for a range of values for the target id of the predecessor/successor when we know the exact expected value. This commit makes the test more precise.
* 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius2012-03-022-0/+5
| | | | * support/src/spin.c: Include "test_support.h".
* 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius2012-03-024-17/+30
| | | | | | | | | | | | | * psxtmmq01/init.c: Make benchmark_mq_open, benchmark_mq_open_second, benchmark_mq_close, benchmark_mq_close_second, benchmark_mq_unlink, benchmark_mq_notify, benchmark_mq_send, benchmark_mq_receive, benchmark_mq_timedsend, benchmark_mq_timedreceive static. * psxtmmutex01/init.c: Make test_mutex_create, test_mutex_destroy static. * psxtmsem02/init.c: benchmark_sem_getvalue, benchmark_sem_wait, benchmark_sem_post, benchmark_sem_trywait_available, benchmark_sem_trywait_not_available static.
* psxtests: Fix typo in psxstatSebastian Huber2012-02-231-1/+1
|
* 2012-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius2012-02-222-1/+1
| | | | | * pppd/system.h: Add pppdapp_initialize. * pppd/init.c: Remove pppdapp_initialize.
* 2012-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius2012-02-223-16/+22
| | | | | | * nsecs/system.h: New (Split out from nsecs/init.c). * nsecs/init.c: Reflect nsecs/system.h having been split out. * nsecs/empty.c: Include "system.h".
* Use alternative APISebastian Huber2012-02-176-70/+5
| | | | | | Replaced Allocate_majority_of_workspace() with rtems_workspace_allocate(). Replaced Allocate_majority_of_heap() with rtems_heap_greedy_allocate().
* Increase stack size for symbolic link loop testSebastian Huber2012-02-094-0/+4
|
* Fixed warnings and minor bugsSebastian Huber2012-02-0813-43/+50
| | | | | | o Due to the usual integer propagation rules care must be taken in case off_t is involved. o Use the effective UID and GID consistently.
* PR 1991/cpukit - attr.c (really mode code) warning reworkJoel Sherrill2012-02-023-26/+25
| | | | | | | | | | | | | | This PR was about a warning for no previous prototype for rtems_interrupt_level_attribute. This method exists (like a few others) to have real bodies for Classic API services implemented as macros. These macros are not available from anything but C and C++. The most explicit use was in the Ada binding but these would be needed from assembly language or any other non-C based language. On top of needing a prototype, the methods were misnamed. They were related to modes. This renames them, moves the file, fixes test code, etc.
* Remove all .cvsignore files.Joel Sherrill2012-02-01458-1094/+0
|
* Typo.Sebastian Huber2011-12-142-4/+4
|
* 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-148-1/+225
| | | | | | | | PR 1924/cpukit * spstkalloc02/.cvsignore, spstkalloc02/Makefile.am, spstkalloc02/init.c, spstkalloc02/spstkalloc02.doc, spstkalloc02/spstkalloc02.scn: New files. * Makefile.am, configure.ac: Reflect changes above.
* 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-142-57/+63
| | | | | * termios01/init.c: Update due to API changes. Fixed integer types. Make functions static. Added const qualifier.
* 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-132-1/+5
| | | | * psxconfig01/init.c: Create floating point tasks.