NetBurner 3.5.6
PDF Version
PartitionEntry Struct Reference

#include <effs_pt.h>

Public Member Functions

uint64_t start ()
 
 
uint64_t end ()
 
 
uint64_t startAddr (uint32_t sectorSize)
 
 
uint64_t endAddr (uint32_t sectorSize)
 
 
uint64_t sectors ()
 
 
uint64_t setStart (uint64_t startSector)
 
 
uint64_t setSectors (uint64_t sCount)
 
 

Public Attributes

uint32_t flags: 8
 Any special flags for the partition.
 
uint32_t sectorCount: 24
 How many sectors are in this partition.
 
uint32_t partitionType: 8
 What type of filesystem is this partition.
 
uint32_t firstSector: 24
 Index of first sector for this partition.
 

Detailed Description

Note: sectorCount and firstSector have special meaning if the MSB is set. If MSB is set, the format is as follows:

realSectorCount = (2**(sectorCount[22:18]+4)*(sectorCount[17:0])
realFirstSector = (2**(firstSector[22:18]+4)*(firstSector[17:0])
uint32_t firstSector
Index of first sector for this partition.
Definition effs_pt.h:63
uint32_t sectorCount
How many sectors are in this partition.
Definition effs_pt.h:61

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