RTEMS CPU Kit with SuperCore 18.104.22.168
Description of a disk device (logical and physical disks). More...
|Device identifier (concatenation of major and minor number). |
|Physical device identifier (equals the |
|Driver capabilities. |
|Disk device name. |
|Usage counter. |
|Start media block number. |
|Size of the physical or logical disk in media blocks. |
|Media block size in bytes. |
|Block size in bytes. |
|Block count. |
|Media blocks per device blocks. |
|Block to media block shift. |
|Buffer descriptors per group count. |
|IO control handler for this disk. |
|Private data for the disk driver. |
|Indicates that this disk should be deleted as soon as the last user releases this disk. |
|Device statistics for this disk. |
|Read-ahead control for this disk. |
Description of a disk device (logical and physical disks).
An array of pointer tables to rtems_disk_device structures is maintained. The first table will be indexed by the major number and the second table will be indexed by the minor number. This allows quick lookup using a data structure of moderated size.
Buffer descriptors per group count.
Block size in bytes.
This is the minimum transfer unit. It may be a multiple of the media block size. It must be positive.
Block to media block shift.
In case this value is non-negative the media block of a block can be calculated as media block = block << block_to_media_block_shift, otherwise a 64-bit operation will be used.
Media block size in bytes.
This is the media transfer unit the hardware defaults to.
Media blocks per device blocks.
Start media block number.
Equals zero for physical devices. It is a media block offset to the related physical device for logical device.
Devices cannot be deleted if they are in use.