Commit Graph

8 Commits

Author SHA1 Message Date
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
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
Ralf Corsepius
7d3f9c646a Add HAVE_CONFIG_H. 2011-02-22 07:37:03 +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
Joel Sherrill
500fcd5c88 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* block01/init.c, block02/init.c, block03/init.c, block04/init.c,
	block05/init.c, block07/init.c, bspcmdline01/init.c,
	stringto01/init.c, stringto01/stringto_test_template.h,
	termios01/init.c, termios01/termios_testdriver.c, termios02/init.c:
	Use rtems_test_assert() consistently instead of system assert().
	rtems_test_assert() is designed to integrate into the RTEMS test
	suite infrastructure.
2009-12-08 17:52:49 +00:00
Thomas Doerfler
b27799c311 New test case 2009-11-12 15:34:09 +00:00
Thomas Doerfler
e6000760b2 Added block05, block06 and block07 2009-11-09 16:27:42 +00:00