search for: data_area

Displaying 10 results from an estimated 10 matches for "data_area".

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.
2016 Jul 14
3
[PATCH] : Adding dlabel option to chain.c32
On 07/14/16 05:56, Ady Ady via Syslinux wrote: > > @Peter, Erwan, Gene, Michal, (and anyone else interested)... > > Although I haven't actually tested Erwan's patch, would it be > acceptable by you (all) if I were to send a patch to this Syslinux > Mailing List with the same code while changing the wording as I > previously suggested in a prior email? Would it be
2010 Jun 28
0
[PATCH] chain.c32: pass partition number to stage2 of Grub Legacy
...76d275..4f5baf1 100644 --- a/com32/modules/chain.c +++ b/com32/modules/chain.c @@ -123,11 +123,11 @@ static struct options { uint16_t seg; bool isolinux; bool cmldr; + bool grub; bool grldr; bool swap; bool hide; bool sethidden; - bool grub; } opt; struct data_area { @@ -1585,10 +1585,13 @@ int main(int argc, char *argv[]) if (opt.grub) { regs.ip = 0x200; /* jump 0x200 bytes into the loadfile */ - /* 0xffffff00 seems to be GRUB ways to record that it''s - "root" is the whole disk (and not a partition). */ - *(uint32_t...
2016 Jul 15
0
[PATCH] : Add diskbypartname option to chain.c32
...about the actual partition that matched + pi_del(&iter); + // Let's return the disk itself instead + iter = pi_begin(&diskinfo, opt.piflags); + goto ok; + } + } + drive = -1; +ok: + *_boot_part = iter; + return drive; +} + static void do_boot(struct data_area *data, int ndata) { struct syslinux_memmap *mmap; @@ -300,6 +332,15 @@ } if (find_by_label(opt.drivename + 6, &iter) < 0) { error("Unable to find requested GPT partition by label."); + goto bail; + } + } else if (!strncmp(opt.drivename, "diskbypartname&q...
2010 Jun 04
1
[PATCH] chain.c32: add support for loading GRUB stage2
...; & jumping to seg 0x820, + * used with GRUB stage2 files. + * * swap: * if the disk is not fd0/hd0, install a BIOS stub which swaps * the drive numbers. @@ -101,6 +105,7 @@ static struct options { bool swap; bool hide; bool sethidden; + bool grub; } opt; struct data_area { @@ -679,6 +684,7 @@ static void usage(void) " freedos=<loader> load FreeDOS kernel.sys\n" " msdos=<loader> load MS-DOS io.sys\n" " pcdos=<loader> load PC-DOS ibmbio.com\n" + " grub=<loa...
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
2013 Oct 18
0
[RFC/PATCH 1/3] Move partiter from com32/chain to com32/lib/syslinux
...ngle.h index d4a5b75..df5c568 100644 --- a/com32/chain/mangle.h +++ b/com32/chain/mangle.h @@ -32,7 +32,7 @@ #define COM32_CHAIN_MANGLE_H #include "chain.h" -#include "partiter.h" +#include <syslinux/partiter.h> /* file's manglers */ int manglef_isolinux(struct data_area *data); diff --git a/com32/chain/options.c b/com32/chain/options.c index 4e722a0..4211c2f 100644 --- a/com32/chain/options.c +++ b/com32/chain/options.c @@ -33,8 +33,8 @@ #include <stdlib.h> #include <string.h> #include "chain.h" -#include "partiter.h" -#include &...
2015 Jul 22
0
[PULL 1/8] Move partiter from com32/chain to com32/lib/syslinux
...ngle.h index 42f6c5b..98b2f2c 100644 --- a/com32/chain/mangle.h +++ b/com32/chain/mangle.h @@ -32,7 +32,7 @@ #define COM32_CHAIN_MANGLE_H #include "chain.h" -#include "partiter.h" +#include <syslinux/partiter.h> /* file's manglers */ int manglef_isolinux(struct data_area *data); diff --git a/com32/chain/options.c b/com32/chain/options.c index 2b51939..b3c986e 100644 --- a/com32/chain/options.c +++ b/com32/chain/options.c @@ -33,8 +33,8 @@ #include <stdlib.h> #include <string.h> #include "chain.h" -#include "partiter.h" -#include &...
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