summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/block06/init.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-12-19config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber1-1/+1
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
2018-10-05tests: Use rtems_task_exit()Sebastian Huber1-3/+3
Update #3533.
2018-08-07libtests/block06: Use rtems_blkdev_create()Sebastian Huber1-147/+87
Update #3358.
2018-01-19block06: Use floating-point taskSebastian Huber1-0/+1
This test uses sprintf().
2017-11-29block06/init.c: Fix printf() format warningJoel Sherrill1-5/+4
2017-11-06tests: Use simple console driverSebastian Huber1-1/+1
Update #3170. Update #3199.
2017-11-02tests: Use printf() instead of fprintf()Sebastian Huber1-2/+2
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber1-2/+0
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-23testsuite: Remove warnings.Chris Johns1-17/+18
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns1-83/+67
- Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
2016-05-25cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns1-1/+1
This change adds rtems_printf and related functions and wraps the RTEMS print plugin support into a user API. All references to the plugin are removed and replaced with the rtems_printer interface. Printk and related functions are made to return a valid number of characters formatted and output. The function attribute to check printf functions has been added to rtems_printf and printk. No changes to remove warrnings are part of this patch set. The testsuite has been moved over to the rtems_printer. The testsuite has a mix of rtems_printer access and direct print control via the tmacros.h header file. The support for begink/endk has been removed as it served no purpose and only confused the code base. The testsuite has not been refactored to use rtems_printf. This is future work.
2014-12-16Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber1-2/+0
This define was superfluous, undocumented and used inconsistently.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2014-03-20tests/libtests: Use <rtems/test.h>Sebastian Huber1-2/+8
2014-03-11sapi: Use one SMP lock for all chainsSebastian Huber1-2/+2
This partially reverts commit 1215fd4d9426a59d568560e9a485628560363133. In order to support profiling of SMP locks and provide a future compatible SMP locks API it is necessary to add an SMP lock destroy function. Since the commit above adds an SMP lock to each chain control we would have to add a rtems_chain_destroy() function as well. This complicates the chain usage dramatically. Thus revert the patch above. A global SMP lock for all chains is used to implement the protected chain operations. Advantages: * The SAPI chain API is now identical on SMP and non-SMP configurations. * The size of the chain control is reduced and is then equal to the Score chains. * The protected chain operations work correctly on SMP. Disadvantage: * Applications using many different chains and the protected operations may notice lock contention. The chain control size drop is a huge benefit (SAPI chain controls are 66% larger than the Score chain controls). The only disadvantage is not really a problem since these applications can use specific interrupt locks and unprotected chain operations to avoid this issue.
2013-08-30sapi: SMP support for chainsSebastian Huber1-2/+2
Add ISR lock to chain control for proper SMP protection. Replace rtems_chain_extract() with rtems_chain_explicit_extract() and rtems_chain_insert() with rtems_chain_explicit_insert() on SMP configurations. Use rtems_chain_explicit_extract() and rtems_chain_explicit_insert() to provide SMP support.
2013-07-26score: Merge tod implementation into one fileSebastian Huber1-3/+3
Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
2013-07-23Include missing <string.h>Sebastian Huber1-0/+1
2012-11-14testsuites: Include <bsp.h>Sebastian Huber1-0/+2
Include <bsp.h> for proper BSP specific <rtems/confdefs.h> initialization.
2012-11-02libblock: Block device transfer request API changeSebastian Huber1-4/+5
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-07-02libtests/block06: Increase stack sizeSebastian Huber1-0/+2
2012-05-31libblock: Remove const qualifier from bdbuf APISebastian Huber1-5/+5
This allows addtion of per disk statistics for example.
2012-05-31libblock: Add task stack size bdbuf configurationSebastian Huber1-3/+7
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-11libtmtests - Eliminate missing prototype warningsJoel Sherrill1-0/+3
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+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.
2012-03-26libtests/block06: Increase stack sizeSebastian Huber1-0/+2
2012-03-13libblock: Change bdbuf APISebastian Huber1-42/+36
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.
2011-02-22Add HAVE_CONFIG_H.Ralf Corsepius1-0/+4
2010-05-032010-05-03 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Sebastian Huber1-1/+1
* 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-01-19updates and new test casesThomas Doerfler1-2/+2
2009-12-212009-12-21 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill1-3/+3
* block06/init.c: Update for disk device API change. Changed EBADRQC to EINVAL.
2009-11-30Whitespace removal.Ralf Corsepius1-73/+73
2009-11-132009-11-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* block06/init.c: Add missing prototype.
2009-11-09Added block05, block06 and block07Thomas Doerfler1-0/+1852