search for: abs_lba

Displaying 5 results from an estimated 5 matches for "abs_lba".

2013 Oct 18
0
[RFC/PATCH 1/3] Move partiter from com32/chain to com32/lib/syslinux
...ot;); - return -1; - } - } - /* restore old checksum */ - gh->chksum = hold_crc32; - - return 0; -} - -static int pi_next_(struct part_iter *iter) -{ - iter->status = PI_DONE; - return iter->status; -} - -static int pi_dos_next(struct part_iter *iter) -{ - uint32_t abs_lba = 0; - struct disk_dos_part_entry *dos_part = NULL; - - if (iter->status) - return iter->status; - - /* look for primary partitions */ - if (iter->index0 < 4 && - dos_next_mbr(iter, &abs_lba, &dos_part) < 0) - return iter->status; - - /* look for...
2015 Jul 22
0
[PULL 1/8] Move partiter from com32/chain to com32/lib/syslinux
...2(0, NULL, 0), (const uint8_t *)gl, gh->part_size * gh->part_count); - return gh->table_chksum == crcc; -} - -static int pi_next_(struct part_iter *iter) -{ - iter->status = PI_DONE; - return iter->status; -} - -static int pi_dos_next(struct part_iter *iter) -{ - uint32_t abs_lba = 0; - struct disk_dos_part_entry *dos_part = NULL; - - if (iter->status) - return iter->status; - - /* look for primary partitions */ - if (iter->index0 < 4 && - dos_next_mbr(iter, &abs_lba, &dos_part) < 0) - return iter->status; - - /* look for...
2012 Nov 06
50
chain.c32 (and partiter) updates v2
This is a bit updated set of chain.c32 changes that simplifies a few things (and in partiter part), fixes few minor issues and adds a few new features. Details are in the following commits, below is the summary and pull details at the end. Shao - any chance to peek over them ? Most of those are relatively simple changes and well tested, though of course something might have slipped my attention.
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its last on-disk structure changes -- and it _suprisingly_ worked as expected. Right, now I can finally get rid of GRUB and use Syslinux to boot my Linux on EFI from a rootfs with xfs. Shit, I have two partitions (the first one being the required ESP) so there is no way to access the other partitions since because Syslinux does not
2013 Oct 18
0
[RFC/PATCH 3/3] Wire up MultiFS support.
...artition) + break; + } while (!pi_next(iter)); + + if (iter->status) { + dprintf("MultiFS: Request disk/partition combination not found.\n"); + goto bail; + } + dprintf("MultiFS: found 0x%llx at idex: %i and partition %i\n", + iter->abs_lba, iter->index, partition); + + *_iter = iter; + return 0; +bail: + pi_del(&iter); + return -1; +} + +/* + * Get a number till the delimiter is found. + * + * @ret: addr to delimiter+1 on success, NULL on failure. + */ +static const char *get_num(const char *p, char delimiter, uint...