Skip to content

Commit 852ef17

Browse files
committed
Add documentation
1 parent 5ee1f70 commit 852ef17

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/Partitioning.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,23 @@ struct Partition {
1919

2020
struct __attribute__((packed)) mbrEntry {
2121
uint8_t status;
22+
/**
23+
* @brief The starting CHS (Cylinder-Head-Sector) address of the partition.
24+
*/
2225
uint8_t chsStart[3];
2326
uint8_t type;
27+
/**
28+
* @brief The ending CHS (Cylinder-Head-Sector) address of the partition.
29+
*/
2430
uint8_t chsStop[3];
31+
32+
/**
33+
* @brief The logical block address offset of the partition.
34+
*/
2535
uint32_t lbaOffset;
36+
/**
37+
* @brief The size of each Logical Block Address (LBA) in bytes.
38+
*/
2639
uint32_t lbaSize;
2740
};
2841

0 commit comments

Comments
 (0)