diff options
author | Michal Soltys <soltys@ziu.info> | 2013-02-14 16:51:46 +0100 |
---|---|---|
committer | Michal Soltys <soltys@ziu.info> | 2013-02-14 16:53:52 +0100 |
commit | 36a91634e36cd73627fd8c8264ad1a2faf1e7081 (patch) | |
tree | ac8014d3d11a0094c10de31f2f570b5bf77301fd | |
parent | 4e761f7bc40ff810ba1e57efbd66fe9a82044658 (diff) | |
download | syslinux-36a91634e36cd73627fd8c8264ad1a2faf1e7081.tar.gz syslinux-36a91634e36cd73627fd8c8264ad1a2faf1e7081.tar.xz syslinux-36a91634e36cd73627fd8c8264ad1a2faf1e7081.zip |
com32/chain: (partiter) add cebr_siz for completness
Might be useful at some and/or when partiter becomes a non-chain
specific code.
Signed-off-by: Michal Soltys <soltys@ziu.info>
-rw-r--r-- | com32/chain/partiter.c | 1 | ||||
-rw-r--r-- | com32/chain/partiter.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/com32/chain/partiter.c b/com32/chain/partiter.c index 8d0c2722..ced3a45e 100644 --- a/com32/chain/partiter.c +++ b/com32/chain/partiter.c @@ -360,6 +360,7 @@ static int dos_next_ebr(struct part_iter *iter, uint32_t *lba, dp = ((struct disk_dos_mbr *)iter->data)->table; iter->dos.cebr_lba = iter->dos.nebr_lba; + iter->dos.cebr_siz = iter->dos.nebr_siz; /* setup next frame values */ if (dp[1].ostype) { diff --git a/com32/chain/partiter.h b/com32/chain/partiter.h index ab4922ca..13dec848 100644 --- a/com32/chain/partiter.h +++ b/com32/chain/partiter.h @@ -77,6 +77,7 @@ struct part_iter { uint32_t bebr_siz; /* size of base extended partition */ uint32_t cebr_lba; /* absolute lba of curr ext. partition */ + uint32_t cebr_siz; /* size of curr ext. partition */ uint32_t nebr_lba; /* absolute lba of next ext. partition */ uint32_t nebr_siz; /* size of next ext. partition */ |