diff options
author | Michal Soltys <soltys@ziu.info> | 2010-08-25 01:28:50 +0200 |
---|---|---|
committer | Michal Soltys <soltys@ziu.info> | 2010-09-28 09:32:52 +0200 |
commit | 1c1f14dc77b5b361333a7e790eed3206526fb26d (patch) | |
tree | 4335f8d119cff008aca742ab6f80bd78538ca1cd /com32/chain/partiter.h | |
parent | cc5c2ccd0b4acb64db011459b90574ec33f5284b (diff) | |
download | syslinux-1c1f14dc77b5b361333a7e790eed3206526fb26d.tar.gz |
chain: adjust 'mbrchs' calculations, adjust partitier
It seems that chs values in extended partitions are expected to provide
absolute positions. Previously these values were calculated directly
from ebr lba values.
Partiter now provides cebr_lba and ebr_lba that hold absolute values
of current and next ebr.
Signed-off-by: Michal Soltys <soltys@ziu.info>
Diffstat (limited to 'com32/chain/partiter.h')
-rw-r--r-- | com32/chain/partiter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/com32/chain/partiter.h b/com32/chain/partiter.h index 694969ab..971d388e 100644 --- a/com32/chain/partiter.h +++ b/com32/chain/partiter.h @@ -64,7 +64,8 @@ struct part_iter { union _sub { struct _dos { uint32_t disk_sig; - uint32_t mbr_lba; + uint32_t ebr_lba; + uint32_t cebr_lba; /* internal */ uint32_t ebr_start; uint32_t ebr_size; |