aboutsummaryrefslogtreecommitdiffstats
path: root/com32/chain/partiter.h
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2010-10-13 23:00:56 +0200
committerMichal Soltys <soltys@ziu.info>2010-10-14 23:08:23 +0200
commit15f1da3858201952efa0a58d5f6ec2babcc8acec (patch)
tree6a2fd916669c30b47da562bb889f1a0c1cae0e1b /com32/chain/partiter.h
parentaad915eacd279cc84bdaef20a5f101504b3eec95 (diff)
downloadsyslinux-15f1da3858201952efa0a58d5f6ec2babcc8acec.tar.gz
syslinux-15f1da3858201952efa0a58d5f6ec2babcc8acec.tar.xz
syslinux-15f1da3858201952efa0a58d5f6ec2babcc8acec.zip
com32/chain/partiter.c,h: updates
- lbacnt field in disklib's diskinfo allows for more strict sanity checks - hardcoded SECTOR is no longer used - we use diskinfo's bps value now - pi_begin() does additional sanity checks on header values, and allows using secondary gpt partition list, if crc of the primary one is invalid Signed-off-by: Michal Soltys <soltys@ziu.info>
Diffstat (limited to 'com32/chain/partiter.h')
-rw-r--r--com32/chain/partiter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/chain/partiter.h b/com32/chain/partiter.h
index 5e17a9a4..3e4f96c1 100644
--- a/com32/chain/partiter.h
+++ b/com32/chain/partiter.h
@@ -86,6 +86,8 @@ struct part_iter {
char part_label[PI_GPTLABSIZE/2+1];
int pe_count;
int pe_size;
+ uint64_t ufirst;
+ uint64_t ulast;
} gpt;
} sub;
};