WKern
Loading...
Searching...
No Matches
PartitionEntry Struct Reference

Represents a single partition entry in the MBR partition table. More...

Data Fields

u8 status
u8 chs_first [3]
u8 type
u8 chs_last [3]
u32 lba_first_sector
u32 total_sectors

Detailed Description

Represents a single partition entry in the MBR partition table.

Definition at line 37 of file MBR.c.

Field Documentation

◆ chs_first

u8 PartitionEntry::chs_first[3]

CHS address of first absolute sector in partition

Definition at line 39 of file MBR.c.

◆ chs_last

u8 PartitionEntry::chs_last[3]

CHS address of last absolute sector in partition

Definition at line 41 of file MBR.c.

◆ lba_first_sector

u32 PartitionEntry::lba_first_sector

LBA of first absolute sector in partition

Definition at line 42 of file MBR.c.

◆ status

u8 PartitionEntry::status

Bootable flag: 0x80 = bootable, 0x00 = non-bootable

Definition at line 38 of file MBR.c.

◆ total_sectors

u32 PartitionEntry::total_sectors

Total sectors in partition

Definition at line 43 of file MBR.c.

◆ type

u8 PartitionEntry::type

Partition type (e.g., FAT16 types 0x04, 0x06)

Definition at line 40 of file MBR.c.


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