search for: ebr_part

Displaying 4 results from an estimated 4 matches for "ebr_part".

2010 Jul 24
0
[PATCH] chain.c: allocation fixes
...in.c index b5c1d8f..6c3bb64 100644 --- a/com32/modules/chain.c +++ b/com32/modules/chain.c @@ -464,6 +464,9 @@ struct disk_part_iter; typedef struct disk_part_iter *(*disk_part_iter_func) (struct disk_part_iter * part); +/* Forward declaration */ +static struct disk_part_iter *next_ebr_part(struct disk_part_iter *part); + /* Contains details for a partition under examination */ struct disk_part_iter { /* The block holding the table we are part of */ @@ -505,6 +508,21 @@ struct disk_part_iter { } private; }; +static void free_iter(struct disk_part_iter *part) +{ + str...
2010 Aug 08
1
PATCH/RFC chain.c: update iterator code, yank from chain.c, move both to separate directory
1) code split and move Iterator related functionality is yanked from chain.c and moved to iterator.{c,h}. Both are moved to com32/chain and this way chain.c is ready for further splitting. Alternatively, partiter could be moved to com32/lib at any time in the future. It's potentially useful for other modules (e.g. if someone wanted to code partition dumper or editor). 2) Iterator updates
2010 Jul 23
0
[PATCH] chain.c: gpt's index/private.index mismatch fix, cosmetic iterator changes
1) public index in gpt iterator should not skip empty partitions, e.g. if we have 1st and 3rd gpt entry used, we expect the numbers to be 1 and 3, not 1 and 2 (similary to how linux sees it e.g. /dev/sda1 and /dev/sda3). It's analogous to index / mbr_index fix. 2) free(ebr_part); in mbr iterator was not reachable. ebr iterator takes care of freeing itself and its parent. 3) in ebr iterator, error jump from "insane" partition error can simply go to err_ebr. Signed-off-by: Michal Soltys <soltys at ziu.info> --- com32/modules/chain.c | 10 ++-------- 1 f...
2010 Jul 26
5
[RFC/PATCH] New chainloading functionality
This patch introduces extra functionality to chain.c, mainly with reference to BPB adjustments, but not only that. It expects 3 small patches I sent earlier (they are included for easy reference, patches 1-3/4). The changes introduced are: 1) file and boot sector use separate options to control load address and jump address (if applicable). Options are as described below: *