Sebastian Huber
9f0a68ce5a
libblock: Block device transfer request API change
...
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.
2012-11-02 09:40:58 +01:00
Sebastian Huber
6a03786d94
libtests/block06: Increase stack size
2012-07-02 16:15:53 +02:00
Sebastian Huber
40284de844
libblock: Remove const qualifier from bdbuf API
...
This allows addtion of per disk statistics for example.
2012-05-31 11:05:48 +02:00
Sebastian Huber
b6911069d4
libblock: Add task stack size bdbuf configuration
...
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.
2012-05-31 11:05:48 +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
4ee0fa8798
libtests/block06: Increase stack size
2012-03-26 15:04:53 +02: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
Joel Sherrill
61250b4ce9
Remove all .cvsignore files.
2012-02-01 10:59:44 -06: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
7d3f9c646a
Add HAVE_CONFIG_H.
2011-02-22 07:37:03 +00:00
Joel Sherrill
ef08dc1f8a
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* 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,
heapwalk/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am,
monitor02/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am,
rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am,
stringto01/Makefile.am, termios/Makefile.am, termios01/Makefile.am,
termios02/Makefile.am: Revert.
2010-06-23 23:26:08 +00:00
Joel Sherrill
ab59de4542
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* 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,
heapwalk/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am,
monitor02/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am,
rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am,
stringto01/Makefile.am, termios/Makefile.am, termios01/Makefile.am,
termios01/init.c, termios02/Makefile.am: Fix bug so existing test
code for rtems_termios_baud_to_index() is executed.
2010-06-23 23:24:11 +00:00
Sebastian Huber
c1b2bac5d4
2010-05-03 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
...
* block01/init.c, block02/init.c, block03/init.c, block04/init.c,
block05/init.c, block06/init.c, block07/init.c, block09/init.c,
block10/init.c: Changed CONFIGURE_MAXIMUM_SEMAPHORES defines.
2010-05-03 09:14:27 +00:00
Thomas Doerfler
64734fc14b
updates and new test cases
2010-01-19 08:55:18 +00:00
Joel Sherrill
9325362b21
2009-12-21 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
...
* block06/init.c: Update for disk device API change. Changed EBADRQC
to EINVAL.
2009-12-21 14:49:55 +00:00
Thomas Doerfler
f9925bcc24
added documentation
...
corrections in block tests
added Makefile.am
2009-11-30 12:41:10 +00:00
Ralf Corsepius
b1274bd94c
Whitespace removal.
2009-11-30 03:33:25 +00:00
Joel Sherrill
5d01adfb24
2009-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* block02/.cvsignore, block03/.cvsignore, block04/.cvsignore,
block05/.cvsignore, block06/.cvsignore, block07/.cvsignore: New files.
* block02/Makefile.in, block03/Makefile.in, block04/Makefile.in,
block05/Makefile.in, block06/Makefile.in, block07/Makefile.in: Removed.
2009-11-21 20:53:15 +00:00
Ralf Corsepius
d093934163
2009-11-13 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* block06/init.c: Add missing prototype.
2009-11-13 09:47:57 +00:00
Thomas Doerfler
e6000760b2
Added block05, block06 and block07
2009-11-09 16:27:42 +00:00