aboutsummaryrefslogtreecommitdiffstats
path: root/com32/chain/partiter.h
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2010-08-24 19:18:34 +0200
committerMichal Soltys <soltys@ziu.info>2010-09-28 09:32:52 +0200
commitcc5c2ccd0b4acb64db011459b90574ec33f5284b (patch)
treeb71d8f1da21fc3b440a6fc504342c5a4309a316e /com32/chain/partiter.h
parent505a26ad9794776d7b018c81bf993751fba6b06f (diff)
downloadsyslinux-cc5c2ccd0b4acb64db011459b90574ec33f5284b.tar.gz
syslinux-cc5c2ccd0b4acb64db011459b90574ec33f5284b.tar.xz
syslinux-cc5c2ccd0b4acb64db011459b90574ec33f5284b.zip
chain, partiter, options: bugfix, new options
- small bugfix in partiter.c - new options: hideall, mbrchs - new partiter feature - rawindex - counts all (inc. empty) partitions in all cases hideall is expansion of hide, that hides all partitions in a chain, not only primary ones mbrchs walks over all partitions and fixes chs values in mbr entries rawindex keeps count of all partitions, including holes in EBRs Signed-off-by: Michal Soltys <soltys@ziu.info>
Diffstat (limited to 'com32/chain/partiter.h')
-rw-r--r--com32/chain/partiter.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/chain/partiter.h b/com32/chain/partiter.h
index 718f6033..694969ab 100644
--- a/com32/chain/partiter.h
+++ b/com32/chain/partiter.h
@@ -56,9 +56,11 @@ struct part_iter {
char *record;
uint64_t start_lba;
int index;
+ int rawindex;
struct disk_info di;
- /* internal */
int stepall;
+ /* internal */
+ int index0;
union _sub {
struct _dos {
uint32_t disk_sig;
@@ -68,17 +70,15 @@ struct part_iter {
uint32_t ebr_size;
uint32_t bebr_start;
uint32_t bebr_size;
- int index0;
int bebr_index0;
+ int skipcnt;
} dos;
struct _gpt {
struct guid disk_guid;
struct guid part_guid;
char part_label[PI_GPTLABSIZE/2+1];
- /* internal */
int pe_count;
int pe_size;
- int index0;
} gpt;
} sub;
};