aboutsummaryrefslogtreecommitdiffstats
path: root/com32/chain/partiter.h
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2013-02-14 16:51:45 +0100
committerMichal Soltys <soltys@ziu.info>2013-02-14 16:53:04 +0100
commit029a72e33442ef929bfa82a47cf74fc16754a741 (patch)
tree7b7dd76b16727b9a7baafde4e06df820ac05a9c6 /com32/chain/partiter.h
parente807b5167d65b5c76acd4f3073832405d01fda31 (diff)
downloadsyslinux-029a72e33442ef929bfa82a47cf74fc16754a741.tar.gz
syslinux-029a72e33442ef929bfa82a47cf74fc16754a741.tar.xz
syslinux-029a72e33442ef929bfa82a47cf74fc16754a741.zip
com32/chain: partiter - more precise comments / output
Signed-off-by: Michal Soltys <soltys@ziu.info>
Diffstat (limited to 'com32/chain/partiter.h')
-rw-r--r--com32/chain/partiter.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/com32/chain/partiter.h b/com32/chain/partiter.h
index 10f18824..18c33153 100644
--- a/com32/chain/partiter.h
+++ b/com32/chain/partiter.h
@@ -71,16 +71,19 @@ struct part_iter {
struct disk_info di;
union {
struct {
- uint32_t disk_sig;
- uint32_t nebr_lba;
- uint32_t cebr_lba;
- /* internal */
- uint32_t ebr_start;
- uint32_t ebr_size;
- uint32_t bebr_start;
- uint32_t bebr_size;
- int bebr_index0;
- int skipcnt;
+ uint32_t disk_sig; /* 32bit disk signature as stored in MBR */
+
+ uint32_t bebr_start; /* abs lba of base extended partition */
+ uint32_t bebr_size; /* size of base extended partition */
+
+ uint32_t cebr_lba; /* absolute lba of curr ext. partition */
+ uint32_t nebr_lba; /* absolute lba of next ext. partition */
+
+ uint32_t ebr_start; /* relative (to bebr) lba of next extended partition */
+ uint32_t ebr_size; /* size of next extended partition */
+
+ int bebr_index0; /* index of (0-3) of base ext. part., -1 if not present in MBR */
+ int skipcnt; /* how many logical holes were skipped */
} dos;
struct {
struct guid disk_guid;