RTEMS
5.0.0
|
Flash Device Descriptor holds the segments in a device. More...
#include <flashdisk.h>
Data Fields | |
uint32_t | segment_count |
const rtems_fdisk_segment_desc * | segments |
const rtems_fdisk_driver_handlers * | flash_ops |
Flash Device Descriptor holds the segments in a device.
The placing of the segments in a device decriptor allows the low level driver to share the segment descriptors for a number of devices.
Typically this structure is part of a table of segments in the device which is referenced in the flash disk configuration table. The reference is kept in the driver and used all the time to manage the flash device, therefore it must always exist.
const rtems_fdisk_driver_handlers* rtems_fdisk_device_desc::flash_ops |
Device handlers.
uint32_t rtems_fdisk_device_desc::segment_count |
Number of segments.
const rtems_fdisk_segment_desc* rtems_fdisk_device_desc::segments |
Array of segments.