Contiki-Inga 3.x
Data Fields
mbr_primary_partition Struct Reference

Represents a primary partition in the mbr. More...

#include <core/cfs/fat/mbr.h>

Data Fields

uint8_t status
 0x00 non-bootable, 0x80 bootable, other values indicate that it is invalid
 
uint8_t chs_first_sector [3]
 Saves the first sector of the partition in the old CHS format (cylinder, head, sector) More...
 
uint8_t type
 The type of partition this is, like FAT16 or FAT32; type = 0 means it's unused.
 
uint8_t chs_last_sector [3]
 Stores the last sector of the partition in the old CHS format.
 
uint32_t lba_first_sector
 Stores the absolute address of the first sector of the partition.
 
uint32_t lba_num_sectors
 Stores the number of sectors the partition is long.
 

Detailed Description

Represents a primary partition in the mbr.

Definition at line 67 of file mbr.h.