Master Boot Record
include/fs/mbr.h View source View on GitHubStructs
Section titled “Structs”mbr_partition_entry
Section titled “mbr_partition_entry”struct mbr_partition_entry {
uint8_t status;
uint8_t chs_first[3];
uint8_t type;
uint8_t chs_last[3];
uint32_t lba_start;
uint32_t sector_count;
}; struct mbr {
uint8_t bootstrap[446];
struct mbr_partition_entry partitions[4];
uint16_t signature;
};