RTEMS: rtems_fdisk_page_desc Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
rtems_fdisk_page_desc Struct Reference

## Data Fields
uint16_t | crc
uint16_t | flags
uint32_t | block

## Detailed Description

The start of a segment has a segment control table. This hold the CRC and block number for the page.

Todo:
  A sequence number for the block could be added. This would mean a larger descriptor size. Need to make the sequence large like 20+ bits so a large file system would not have more blocks available than the sequence number.

## Field Documentation

## ◆ block

uint32_t rtems_fdisk_page_desc::block

The block number.

## ◆ crc

uint16_t rtems_fdisk_page_desc::crc

The page's checksum.

## ◆ flags

uint16_t rtems_fdisk_page_desc::flags

The flags for the page.

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

- cpukit/libblock/src/flashdisk.c