Changeset b467782b in rtems for cpukit

Timestamp:
03/26/12 12:58:35 (12 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
228ece9, d189646
Parents:
3d60c1b
git-author:
Sebastian Huber <sebastian.huber@…> (03/26/12 12:58:35)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/12/12 08:42:43)
Message:

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.

(No files)

Note: See TracChangeset for help on using the changeset viewer.