Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::filesystem::partition::PartitionTableEntry Struct Reference

Stores information about a partition. More...

#include <msdos.h>

Public Attributes

uint8_t bootable
 Is this partition bootable? (0x80 = bootable, 0x00 = not bootable)
 
uint8_t start_head
 The starting head of the partition.
 
uint8_t start_sector: 6
 The first sector of the partition.
 
uint16_t start_cylinder: 10
 The starting cylinder of the partition.
 
uint8_t type
 The partition type (see PartitionType enum)
 
uint8_t end_head
 The last head of the partition.
 
uint8_t end_sector: 6
 The last sector of the partition.
 
uint16_t end_cylinder: 10
 The last cylinder of the partition.
 
uint32_t start_LBA
 The starting LBA of the partition.
 
uint32_t length
 The length of the partition in sectors.
 

Detailed Description

Stores information about a partition.

Definition at line 305 of file msdos.h.

Member Data Documentation

◆ bootable

uint8_t MaxOS::filesystem::partition::PartitionTableEntry::bootable

Is this partition bootable? (0x80 = bootable, 0x00 = not bootable)

Definition at line 307 of file msdos.h.

◆ end_cylinder

uint16_t MaxOS::filesystem::partition::PartitionTableEntry::end_cylinder

The last cylinder of the partition.

Definition at line 317 of file msdos.h.

◆ end_head

uint8_t MaxOS::filesystem::partition::PartitionTableEntry::end_head

The last head of the partition.

Definition at line 315 of file msdos.h.

◆ end_sector

uint8_t MaxOS::filesystem::partition::PartitionTableEntry::end_sector

The last sector of the partition.

Definition at line 316 of file msdos.h.

◆ length

uint32_t MaxOS::filesystem::partition::PartitionTableEntry::length

The length of the partition in sectors.

Definition at line 320 of file msdos.h.

◆ start_cylinder

uint16_t MaxOS::filesystem::partition::PartitionTableEntry::start_cylinder

The starting cylinder of the partition.

Definition at line 311 of file msdos.h.

◆ start_head

uint8_t MaxOS::filesystem::partition::PartitionTableEntry::start_head

The starting head of the partition.

Definition at line 309 of file msdos.h.

◆ start_LBA

uint32_t MaxOS::filesystem::partition::PartitionTableEntry::start_LBA

The starting LBA of the partition.

Definition at line 319 of file msdos.h.

◆ start_sector

uint8_t MaxOS::filesystem::partition::PartitionTableEntry::start_sector

The first sector of the partition.

Definition at line 310 of file msdos.h.

◆ type

uint8_t MaxOS::filesystem::partition::PartitionTableEntry::type

The partition type (see PartitionType enum)

Definition at line 313 of file msdos.h.


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