Displaying 3 results from an estimated 3 matches for "handover_record".
2010 Jul 24
0
[PATCH] chain.c: allocation fixes
...ndata++;
regs.esi.w[0] = 0x7be;
dprintf("GPT handover:\n");
- mbr_part_dump(record);
+ mbr_part_dump(hand_area);
gpt_part_dump((struct gpt_part *)(plen + 1));
} else if (cur_part->record) {
/* MBR handover protocol */
- static struct part_entry handover_record;
- handover_record = *cur_part->record;
- handover_record.start_lba = cur_part->lba_data;
+ /* Allocate the hand-over record */
+ hand_area = malloc(sizeof(struct part_entry));
+ if (!hand_area) {
+ error("Could not build MBR hand-over record!\n");
+ goto bai...
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:
*
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