diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-03-26 14:58:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-04-12 10:42:43 +0200 |
commit | b467782b5354c5d524f46bac84c5b70a8b4fa1f6 (patch) | |
tree | 82e37f50cb88569fad625d5c0f30ae9786fd31c5 /c/src/lib/libbsp/arm/stm32f4/include/stm32f4.h | |
parent | libblock: Change error status to fatal error (diff) | |
download | rtems-b467782b5354c5d524f46bac84c5b70a8b4fa1f6.tar.bz2 |
libblock: Add rtems_bdbuf_set_block_size()
The new function rtems_bdbuf_set_block_size() must be used to set the
block size of a disk device. It will check if the block size is valid
and set the new fields block_to_media_block_shift and bds_per_group of
the rtems_disk_device structure. This helps to avoid complex arithmetic
operations in the block device buffer get and read path.
Diffstat (limited to 'c/src/lib/libbsp/arm/stm32f4/include/stm32f4.h')
0 files changed, 0 insertions, 0 deletions