summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libblock: Add block device statisticsSebastian Huber2012-06-126-0/+275
|
* libtests/block13: Add const qualifierSebastian Huber2012-06-041-1/+1
|
* libtests/block05: Fix warningsSebastian Huber2012-06-041-2/+2
|
* libblock: Add read-ahead taskSebastian Huber2012-06-046-0/+275
| | | | | | | | | | | Read-ahead requests were previously executed in the context of the reading task. This blocks the reading task until the complete read with read-ahead transfer is finished. A read-ahead task is introduced to off-load the read-ahead transfer. This allows the reading task to work with the requested block more quickly. The read-ahead is triggered after two misses of ascending consecutive blocks or a read hit of a block read by the most-recent read-ahead transfer. The read-ahead feature is configurable and can be disabled.
* Fix C files which had two semi-colons at EOLJoel Sherrill2012-05-313-4/+4
|
* Revert "Revert "libtests/complex: Avoid generated files""Ralf Corsépius2012-05-317-437/+145
| | | | This reverts commit 0c2d8ec48a116cadb86564bc1226e308e197d4c1.
* Revert "Revert "libtests/math*: Avoid generated files""Ralf Corsépius2012-05-318-1116/+316
| | | | This reverts commit 87c8d8aba6a9582ca5eeacd332b5b107e26ea50f.
* Revert "libtests/math*: Avoid generated files"Ralf Corsépius2012-05-318-316/+1116
| | | | This reverts commit 6a5bd1c65c005457455db344f2ee831d7a5cf99b.
* Revert "libtests/complex: Avoid generated files"Ralf Corsépius2012-05-317-145/+437
| | | | This reverts commit a80a108d447d596e476611108cd468ec993be4a6.
* libblock: Simplify disk managementSebastian Huber2012-05-311-1/+1
| | | | | Add block_count and media_blocks_per_block to rtems_disk_device. Add and use rtems_disk_init_phys() and rtems_disk_init_log().
* libblock: Remove const qualifier from bdbuf APISebastian Huber2012-05-3111-18/+18
| | | | This allows addtion of per disk statistics for example.
* libblock: Add task stack size bdbuf configurationSebastian Huber2012-05-3111-17/+17
| | | | | | The task stack size for the swap-out and worker tasks is now configurable. The bdbuf task resources are now included in the work space size estimate.
* Add config.h.in.Ralf Corsépius2012-05-241-0/+55
|
* Revert "Revert "libtests/complex: Avoid generated files""Ralf Corsépius2012-05-247-437/+145
| | | | This reverts commit 0c2d8ec48a116cadb86564bc1226e308e197d4c1.
* Revert "Revert "libtests/math*: Avoid generated files""Ralf Corsépius2012-05-248-1116/+316
| | | | This reverts commit 87c8d8aba6a9582ca5eeacd332b5b107e26ea50f.
* Revert "libtests/math*: Avoid generated files"Ralf Corsépius2012-05-238-316/+1116
| | | | This reverts commit 6a5bd1c65c005457455db344f2ee831d7a5cf99b.
* Revert "libtests/complex: Avoid generated files"Ralf Corsépius2012-05-237-145/+437
| | | | This reverts commit a80a108d447d596e476611108cd468ec993be4a6.
* libtests/math*: Avoid generated filesSebastian Huber2012-05-228-1116/+316
| | | | Use C pre-processor instead of shell commands.
* libtests/complex: Avoid generated filesSebastian Huber2012-05-227-437/+145
| | | | Use C pre-processor instead of shell commands.
* libcsupport: Adjust malloc_walk() prototypeSebastian Huber2012-05-162-10/+10
| | | | | | | | The header file <rtems/malloc.h> provides now also the malloc_walk() prototype. The malloc_walk() prototype reflects now the _Protected_heap_Walk() API. The return status helps to print only in case of an error.
* libblock: Fix purge device tree traversalSebastian Huber2012-05-146-1/+187
|
* libtmtests - Eliminate missing prototype warningsJoel Sherrill2012-05-1146-64/+341
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-11195-541/+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.
* Revert: Remove CVS IdsJoel Sherrill2012-05-0756-0/+261
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-0456-261/+0
|
* rbheap: API changes and documentationSebastian Huber2012-04-181-38/+51
|
* 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.
* 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.
* libtests/block06: Increase stack sizeSebastian Huber2012-03-261-0/+2
|
* PR2040: libtests/flashdisk01: New testSebastian Huber2012-03-148-0/+1534
|
* 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-1324-173/+209
| | | | | | | | | | | | | | | | | | | | 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
|
* Filesystem: Reference counting for locationsSebastian Huber2012-03-133-82/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove all .cvsignore files.Joel Sherrill2012-02-0155-122/+0
|
* 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 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-138-48/+58
| | | | | | * math/init.c, mathf/init.c, mathl/init.c: Move configuration section. * math/domath.c, mathf/domathf.c, mathl/domathl.c: Regenerate. * math/domath.in: Generate domath* prototype.
* 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-135-18/+25
| | | | | | * complex/init.c: Move configuration section. * complex/docomplex.c, complex/docomplexf.c, complex/docomplexl.c: Regenerate.
* 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-132-1/+7
| | | | * complex/docomplex.in: Generate prototype docomplex* prototype.
* 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-092-1/+6
| | | | | * ftp01/Makefile.am: Re-add ftpd01_LDADD (Fix breakage introduced by previous patch).
* 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-12-0850-115/+71
| | | | | | | | | | | | | | | | | | | | | | PR 1589/build * block01/Makefile.am, block02/Makefile.am, block03/Makefile.am, block04/Makefile.am, block05/Makefile.am, block06/Makefile.am, block07/Makefile.am, block08/Makefile.am, block09/Makefile.am, block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am, devfs01/Makefile.am, devfs02/Makefile.am, devfs03/Makefile.am, devfs04/Makefile.am, deviceio01/Makefile.am, devnullfatal01/Makefile.am, dumpbuf01/Makefile.am, ftp01/Makefile.am, gxx01/Makefile.am, heapwalk/Makefile.am, malloc02/Makefile.am, malloc03/Makefile.am, malloc04/Makefile.am, malloc05/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am, mouse01/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am, stringto01/Makefile.am, tar01/Makefile.am, tar02/Makefile.am, tar03/Makefile.am, termios/Makefile.am, termios01/Makefile.am, termios02/Makefile.am, termios03/Makefile.am, termios04/Makefile.am, termios05/Makefile.am, termios06/Makefile.am, termios07/Makefile.am, termios08/Makefile.am, tztest/Makefile.am: Remove obsolete optional manager capability.
* 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-052-6/+4
| | | | * monitor02/init.c: Remove re-declaration of rtems_shell_main_monitor.
* 2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-10-262-1/+13
| | | | * mouse01/init.c: Account for extra message buffer size.
* 2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-10-262-2/+12
| | | | * ftp01/init.c: Account for extra FTP worker task stack sizes.
* 2011-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-222-1/+6
| | | | * malloc04/init.c: Define p1, p2, p3, p4 extern (Avoid warnings).
* 2011-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-09-294-0/+17
| | | | | * mouse01/init.c, mouse01/msmouse.c, mouse01/serial_mouse_config.c: Add HAVE_CONFIG_H.
* 2011-09-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Sebastian Huber2011-09-165-52/+141
| | | | | * monitor/monitor.scn, termios/termios.scn: New files. * monitor/init.c, termios01/init.c: Use rtems_shell_wait_for_input().
* 2011-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-024-0/+27
| | | | | * stackchk/init.c, stackchk/system.h, stackchk/stackchk.scn: Print end of test message.
* 2011-07-29 Pawel Zagorski <pzagor@agh.edu.pl>Joel Sherrill2011-07-296-3/+38
| | | | | | | PR 1865/tests * stringto01/Makefile.am, stringto01/init.c, stringto01/stringto01.doc, stringto01/stringto01.scn, stringto01/stringto_test_template.h: Improve coverage of string conversion routines.
* 2011-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-07-295-0/+91
| | | | | * POSIX/iconv.c, POSIX/iconv_open.c, POSIX/iconv_close.c: New. * POSIX/Makefile.am: Add iconv, iconv_open, iconv_close.