partition_struct Struct Reference
[Partition table support]


Detailed Description

Describes a partition.

Data Fields

device_read_t device_read
 The function which reads data from the partition.
device_read_interval_t device_read_interval
 The function which repeatedly reads a constant amount of data from the partition.
device_write_t device_write
 The function which writes data to the partition.
device_write_interval_t device_write_interval
 The function which repeatedly writes data to the partition.
uint8_t type
 The type of the partition.
uint32_t offset
 The offset in bytes on the disk where this partition starts.
uint32_t length
 The length in bytes of this partition.

Field Documentation

The function which reads data from the partition.

Note:
The offset given to this function is relative to the whole disk, not to the start of the partition.

The function which repeatedly reads a constant amount of data from the partition.

Note:
The offset given to this function is relative to the whole disk, not to the start of the partition.

The function which writes data to the partition.

Note:
The offset given to this function is relative to the whole disk, not to the start of the partition.

The function which repeatedly writes data to the partition.

Note:
The offset given to this function is relative to the whole disk, not to the start of the partition.

The type of the partition.

Compare this value to the PARTITION_TYPE_* constants.


Generated on Thu May 22 18:12:37 2008 for mega-eth by  doxygen 1.5.5