com32/chain/partiter.c,h: updates
commit15f1da3858201952efa0a58d5f6ec2babcc8acec
authorMichal Soltys <soltys@ziu.info>
Wed, 13 Oct 2010 21:00:56 +0000 (13 23:00 +0200)
committerMichal Soltys <soltys@ziu.info>
Thu, 14 Oct 2010 21:08:23 +0000 (14 23:08 +0200)
tree6a2fd916669c30b47da562bb889f1a0c1cae0e1b
parentaad915eacd279cc84bdaef20a5f101504b3eec95
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>
com32/chain/partiter.c
com32/chain/partiter.h