RTEMS 6.1-rc4
|
Data Fields | |
struct rtems_fdisk_segment_ctl * | next |
const rtems_fdisk_segment_desc * | descriptor |
uint32_t | device |
uint32_t | segment |
rtems_fdisk_page_desc * | page_descriptors |
uint32_t | pages |
uint32_t | pages_desc |
uint32_t | pages_active |
uint32_t | pages_used |
uint32_t | pages_bad |
uint32_t | failed |
uint32_t | erased |
Flash Segment Control holds the pointer to the segment, number of pages, various page stats and the memory copy of the page descriptors.
const rtems_fdisk_segment_desc* rtems_fdisk_segment_ctl::descriptor |
The descriptor provided by the low-level driver.
uint32_t rtems_fdisk_segment_ctl::device |
The device this segment resides on.
uint32_t rtems_fdisk_segment_ctl::erased |
Counter to debugging. Wear support would remove this.
uint32_t rtems_fdisk_segment_ctl::failed |
The segment has failed.
struct rtems_fdisk_segment_ctl* rtems_fdisk_segment_ctl::next |
Segments with available pages are maintained as a linked list.
rtems_fdisk_page_desc* rtems_fdisk_segment_ctl::page_descriptors |
The in-memory ocpy of the page descriptors found at the start of the segment in the flash device.
uint32_t rtems_fdisk_segment_ctl::pages |
Total number of pages in the segment.
uint32_t rtems_fdisk_segment_ctl::pages_active |
Number of pages flagged as active.
uint32_t rtems_fdisk_segment_ctl::pages_bad |
Number of pages detected as bad.
uint32_t rtems_fdisk_segment_ctl::pages_desc |
Number of pages used for page descriptors.
uint32_t rtems_fdisk_segment_ctl::pages_used |
Number of pages flagged as used.
uint32_t rtems_fdisk_segment_ctl::segment |
The segment in the device. This must be within the segment descriptor.