Sebastian Huber
6a5bd1c65c
libtests/math*: Avoid generated files
...
Use C pre-processor instead of shell commands.
2012-05-22 10:52:41 +02:00
Sebastian Huber
a80a108d44
libtests/complex: Avoid generated files
...
Use C pre-processor instead of shell commands.
2012-05-22 10:52:41 +02:00
Sebastian Huber
502629707d
libcsupport: Adjust malloc_walk() prototype
...
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.
2012-05-16 12:38:21 +02:00
Sebastian Huber
3c462734ba
libblock: Fix purge device tree traversal
2012-05-14 16:57:59 +02:00
Joel Sherrill
4c86e3d8be
libtmtests - Eliminate missing prototype warnings
2012-05-11 12:20:47 -05:00
Joel Sherrill
9b4422a251
Remove All CVS Id Strings Possible Using a Script
...
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.
2012-05-11 08:44:13 -05:00
Joel Sherrill
33a105fb69
Revert: Remove CVS Ids
...
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Ralf Corsépius
820d82ed8a
Remove CVS-Ids.
2012-05-04 09:36:24 +02:00
Sebastian Huber
5c51ba1333
rbheap: API changes and documentation
2012-04-18 12:18:11 +02:00
Sebastian Huber
e75263083e
rbheap: New files
...
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.
2012-04-11 11:24:19 +02:00
Sebastian Huber
58f665583e
networking: socket to/from file descriptor
...
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.
2012-04-03 16:21:23 +02:00
Sebastian Huber
4ee0fa8798
libtests/block06: Increase stack size
2012-03-26 15:04:53 +02:00
Sebastian Huber
23ed785839
PR2040: libtests/flashdisk01: New test
2012-03-14 11:14:38 +01:00
Sebastian Huber
01211720ec
libblock: Add generic IMFS block device nodes
...
New functions
o rtems_blkdev_create(), and
o rtems_blkdev_create_partition().
New test libtests/block11.
2012-03-13 12:24:18 +01:00
Sebastian Huber
796967c3df
libblock: Change bdbuf API
...
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.
2012-03-13 12:24:18 +01:00
Sebastian Huber
c649976859
libblock: New block IO control support functions
2012-03-13 12:24:17 +01:00
Sebastian Huber
3b7c123c8d
Filesystem: Reference counting for locations
...
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.
2012-03-13 12:23:37 +01:00
Joel Sherrill
61250b4ce9
Remove all .cvsignore files.
2012-02-01 10:59:44 -06:00
Sebastian Huber
f55595e489
2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* termios01/init.c: Update due to API changes. Fixed integer types.
Make functions static. Added const qualifier.
2011-12-14 12:58:21 +00:00
Ralf Corsepius
b3dbca32f2
2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* 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 12:11:10 +00:00
Ralf Corsepius
9c2d082ba9
2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* complex/init.c: Move configuration section.
* complex/docomplex.c, complex/docomplexf.c, complex/docomplexl.c:
Regenerate.
2011-12-13 10:49:25 +00:00
Ralf Corsepius
23e0b66505
2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* complex/docomplex.in: Generate prototype docomplex* prototype.
2011-12-13 10:40:46 +00:00
Ralf Corsepius
06d28d620f
2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* ftp01/Makefile.am:
Re-add ftpd01_LDADD (Fix breakage introduced by previous patch).
2011-12-09 05:57:06 +00:00
Joel Sherrill
6f9ce8f4c6
2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
...
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-08 21:38:12 +00:00
Ralf Corsepius
53aceab4c8
2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* monitor02/init.c: Remove re-declaration of rtems_shell_main_monitor.
2011-12-05 13:02:01 +00:00
Sebastian Huber
5a868873af
2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* mouse01/init.c: Account for extra message buffer size.
2011-10-26 11:13:59 +00:00
Sebastian Huber
ad0e103967
2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* ftp01/init.c: Account for extra FTP worker task stack sizes.
2011-10-26 10:34:11 +00:00
Ralf Corsepius
f27d2f8cb9
2011-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* malloc04/init.c: Define p1, p2, p3, p4 extern (Avoid warnings).
2011-10-22 04:18:39 +00:00
Ralf Corsepius
7cb170b32e
2011-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* mouse01/init.c, mouse01/msmouse.c, mouse01/serial_mouse_config.c:
Add HAVE_CONFIG_H.
2011-09-29 15:54:09 +00:00
Sebastian Huber
11b9b5d035
2011-09-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
...
* monitor/monitor.scn, termios/termios.scn: New files.
* monitor/init.c, termios01/init.c: Use rtems_shell_wait_for_input().
2011-09-16 09:24:52 +00:00
Sebastian Huber
63f871fa93
2011-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* stackchk/init.c, stackchk/system.h, stackchk/stackchk.scn: Print end
of test message.
2011-09-02 13:41:55 +00:00
Joel Sherrill
7920a24c6e
2011-07-29 Pawel Zagorski <pzagor@agh.edu.pl>
...
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 20:29:13 +00:00
Ralf Corsepius
ace38fb787
2011-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* POSIX/iconv.c, POSIX/iconv_open.c, POSIX/iconv_close.c: New.
* POSIX/Makefile.am: Add iconv, iconv_open, iconv_close.
2011-07-29 13:59:42 +00:00
Joel Sherrill
747d8081a9
2011-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* malloc04/init.c, malloc04/malloc04.scn: Remove test cases which are
obsolete.
2011-07-12 15:55:44 +00:00
Ralf Corsepius
e8899de3fa
2011-06-20 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* devfs04/Makefile.am, deviceio01/Makefile.am,
monitor02/Makefile.am, stackchk01/Makefile.am,
stringto01/Makefile.am, tar01/Makefile.am,
tar02/Makefile.am, termios01/Makefile.am,
termios03/Makefile.am, termios04/Makefile.am
tztest/Makefile.am: Add missing files.
2011-06-20 08:53:03 +00:00
Sebastian Huber
4bd005e1c6
2011-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* mouse01/serial_mouse_config.c: Avoid output due to execution context.
2011-05-20 13:47:59 +00:00
Sebastian Huber
c18bdf7fd9
2011-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* termios08/init.c: Fixed parameter to avoid test failure.
2011-05-20 10:30:28 +00:00
Sebastian Huber
e93cc2d233
2011-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* rtems++/Init.cc, rtems++/Task1.cc, rtems++/Task2.cc,
rtems++/Task3.cc: Added HAVE_CONFIG_H.
2011-05-20 10:04:31 +00:00
Joel Sherrill
c4239324ca
2011-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* malloc04/init.c: Fix tests broken in warning pass.
2011-05-06 17:29:25 +00:00
Sebastian Huber
2a6ed0aac2
2011-05-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* ftp01/.cvsignore, ftp01/Makefile.am, ftp01/ftp01.doc,
ftp01/ftp01.scn, ftp01/init.c: New files.
* Makefile.am, configure.ac: Reflect changes above.
2011-05-06 09:08:07 +00:00
Joel Sherrill
6f27ba8077
2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* devnullfatal01/testcase.h, malloc02/init.c, malloc04/init.c,
malloctest/init.c, termios03/termios_testdriver_polled.c,
termios04/termios_testdriver_intr.c: Remove warnings.
2011-05-05 16:45:47 +00:00
Sebastian Huber
5bd6123f77
2011-04-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* tar01/init.c: Fixed integer types.
2011-04-05 09:19:53 +00:00
Joel Sherrill
3d4f74955c
2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Add test for Mouse Parser Engine
(Microsoft Mouse paths) and Serial Mouse Driver.
* mouse01/.cvsignore, mouse01/Makefile.am, mouse01/init.c,
mouse01/mouse01.doc, mouse01/mouse01.scn, mouse01/msmouse.c,
mouse01/serial_mouse_config.c: New files.
2011-03-14 16:18:10 +00:00
Sebastian Huber
627b70e10a
2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* heapwalk/init.c: Improve coverage.
* heapwalk/heapwalk.scn: Update.
2011-03-10 15:41:58 +00:00
Joel Sherrill
89cd2dfe94
2011-03-09 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* devfs04/devfs04.scn, devfs04/init.c: Increase configuration so this
passes on sis.
2011-03-09 19:39:44 +00:00
Sebastian Huber
ce217f9699
2011-03-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* malloctest/init.c: Improve coverage.
* malloctest/malloctest.scn: Update.
2011-03-09 15:39:58 +00:00
Ralf Corsepius
3d5d192477
Add config.h.in
2011-03-01 15:27:02 +00:00
Ralf Corsepius
027e40dc03
2011-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* configure.ac: Add AC_CONFIG_HEADER(config.h).
2011-02-22 14:56:36 +00:00
Ralf Corsepius
7d3f9c646a
Add HAVE_CONFIG_H.
2011-02-22 07:37:03 +00:00
Ralf Corsepius
c969ead73c
2010-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* POSIX/calloc.c, POSIX/clock_gettime.c, POSIX/close.c, POSIX/dup2.c,
POSIX/fcntl.c, POSIX/flockfile.c, POSIX/fork.c, POSIX/free.c,
POSIX/fstat.c, POSIX/ftrylockfile.c, POSIX/funlockfile.c,
POSIX/getdents.c, POSIX/getlogin.c, POSIX/getpwnam.c, POSIX/getpwuid.c,
POSIX/gettimeofday.c, POSIX/getuid.c, POSIX/htonl.c, POSIX/issetugid.c,
POSIX/kill.c, POSIX/longjmp.c, POSIX/lseek.c, POSIX/lstat.c,
POSIX/malloc.c, POSIX/nanosleep.c, POSIX/open.c, POSIX/pipe.c,
POSIX/posix_memalign.c, POSIX/read.c, POSIX/readv.c, POSIX/realloc.c,
POSIX/setjmp.c, POSIX/sigaddset.c, POSIX/sigdelset.c,
POSIX/sigemptyset.c, POSIX/sigfillset.c, POSIX/sigismember.c,
POSIX/sigprocmask.c, POSIX/stat.c, POSIX/unlink.c, POSIX/vfork.c,
POSIX/wait.c, POSIX/waitpid.c, POSIX/write.c, POSIX/writev.c,
block01/init.c, block02/init.c, block03/init.c, block04/init.c,
block05/init.c, block06/init.c, block07/init.c, block08/bdbuf_test1_1.c,
block08/bdbuf_test1_2.c, block08/bdbuf_test1_3.c,
block08/bdbuf_test1_4.c, block08/bdbuf_test1_5.c,
block08/bdbuf_test2_1.c, block08/bdbuf_test2_2.c,
block08/bdbuf_test3_1.c, block08/bdbuf_test3_2.c,
block08/bdbuf_test3_3.c, block08/bdbuf_test4_1.c,
block08/bdbuf_test4_2.c, block08/bdbuf_test4_3.c, block08/bdbuf_tests.c,
block08/init.c, block09/init.c, block10/init.c, bspcmdline01/init.c,
complex/docomplex.c, complex/docomplex.in, complex/docomplexf.c,
complex/docomplexl.c, complex/init.c, cpuuse/init.c, cpuuse/task1.c,
cpuuse/task2.c, cpuuse/task3.c, cpuuse/tswitch.c, devfs01/init.c,
devfs02/init.c, devfs03/init.c, devfs04/init.c, deviceio01/init.c,
dumpbuf01/init.c, gxx01/init.c, heapwalk/init.c, malloc02/init.c,
malloc03/init.c, malloc04/init.c, malloc05/init.c, malloctest/init.c,
malloctest/task1.c, math/domath.c, math/domath.in, math/init.c,
mathf/domathf.c, mathf/init.c, mathl/domathl.c, mathl/init.c,
monitor/init.c, monitor02/init.c, putenvtest/init.c, rtmonuse/getall.c,
rtmonuse/init.c, rtmonuse/task1.c, stackchk/blow.c, stackchk/init.c,
stackchk/task1.c, stackchk01/init.c, stringto01/init.c, tar01/init.c,
tar02/init.c, tar03/init.c, termios/init.c, termios01/init.c,
termios01/termios_testdriver.c, termios02/init.c, termios03/init.c,
termios03/termios_testdriver_polled.c, termios04/init.c,
termios04/termios_testdriver_intr.c, termios05/init.c,
termios05/termios_testdriver_taskdriven.c, termios06/init.c,
termios06/test_pppd.c, termios07/init.c, termios08/init.c,
tztest/init.c: Add HAVE_CONFIG_H.
2011-02-22 07:34:41 +00:00