search for: syslinux_parameter

Displaying 1 result from an estimated 1 matches for "syslinux_parameter".

2010 Jul 05
0
whichsys.c32: execute specific command, based on Syslinux bootloader variant
...32 hd1 swap + * whichsys.c32 -iso- config iso.cfg -sys- sys.cfg -pxe- pxe.cfg + * + */ + +#include <stdio.h> +#include <alloca.h> +#include <console.h> +#include <string.h> +#include <syslinux/boot.h> +#include "syslinux/config.h" + + +static struct syslinux_parameter { + char **arg[1]; + bool option; +} isolinux, pxelinux, syslinux; + +/* XXX: this really should be librarized */ +static void boot_args(char **args) +{ + int len = 0, a = 0; + char **pp; + const char *p; + char c, *q, *str; + + for (pp = args; *pp; pp++) + len += strlen(*pp) +...