Retro Rocket Kernel
BASIC-Powered Operating System
partition_t Struct Reference

A disk partition on a storage device. More...

#include <partition.h>

+ Collaboration diagram for partition_t:

Data Fields

uint8_t bootable
 Partition is bootable. More...
 
uint8_t starthead
 Starting head. More...
 
uint16_t startcylsect
 Starting cylinder and sector. More...
 
uint8_t systemid
 partition type id More...
 
uint8_t endhead
 End head. More...
 
uint16_t endcylsect
 End cylinder and sector. More...
 
uint32_t startlba
 Starting LBA. More...
 
uint32_t length
 LBA length. More...
 

Detailed Description

A disk partition on a storage device.

Field Documentation

◆ bootable

uint8_t partition_t::bootable

Partition is bootable.

◆ endcylsect

uint16_t partition_t::endcylsect

End cylinder and sector.

◆ endhead

uint8_t partition_t::endhead

End head.

◆ length

uint32_t partition_t::length

LBA length.

◆ startcylsect

uint16_t partition_t::startcylsect

Starting cylinder and sector.

◆ starthead

uint8_t partition_t::starthead

Starting head.

◆ startlba

uint32_t partition_t::startlba

Starting LBA.

◆ systemid

uint8_t partition_t::systemid

partition type id