RTEMS CPU Kit with SuperCore  4.11.3
Data Fields
rtems_fdisk_segment_ctl Struct Reference

Flash Segment Control holds the pointer to the segment, number of pages, various page stats and the memory copy of the page descriptors. More...

Collaboration diagram for rtems_fdisk_segment_ctl:
Collaboration graph
[legend]

Data Fields

struct rtems_fdisk_segment_ctlnext
 Segments with available pages are maintained as a linked list.
 
const rtems_fdisk_segment_descdescriptor
 The descriptor provided by the low-level driver.
 
uint32_t device
 The device this segment resides on.
 
uint32_t segment
 The segment in the device. More...
 
rtems_fdisk_page_descpage_descriptors
 The in-memory ocpy of the page descriptors found at the start of the segment in the flash device.
 
uint32_t pages
 Total number of pages in the segment. More...
 
uint32_t pages_desc
 Number of pages used for page descriptors. More...
 
uint32_t pages_active
 Number of pages flagged as active. More...
 
uint32_t pages_used
 Number of pages flagged as used. More...
 
uint32_t pages_bad
 Number of pages detected as bad. More...
 
uint32_t failed
 The segment has failed. More...
 
uint32_t erased
 Counter to debugging. More...
 

Detailed Description

Flash Segment Control holds the pointer to the segment, number of pages, various page stats and the memory copy of the page descriptors.

Field Documentation

◆ erased

uint32_t rtems_fdisk_segment_ctl::erased

Counter to debugging.

Wear support would remove this.

◆ failed

uint32_t rtems_fdisk_segment_ctl::failed

The segment has failed.

◆ pages

uint32_t rtems_fdisk_segment_ctl::pages

Total number of pages in the segment.

◆ pages_active

uint32_t rtems_fdisk_segment_ctl::pages_active

Number of pages flagged as active.

◆ pages_bad

uint32_t rtems_fdisk_segment_ctl::pages_bad

Number of pages detected as bad.

◆ pages_desc

uint32_t rtems_fdisk_segment_ctl::pages_desc

Number of pages used for page descriptors.

◆ pages_used

uint32_t rtems_fdisk_segment_ctl::pages_used

Number of pages flagged as used.

◆ segment

uint32_t rtems_fdisk_segment_ctl::segment

The segment in the device.

This must be within the segment descriptor.


The documentation for this struct was generated from the following file: