search for: syslinux_ipappend_strings

Displaying 11 results from an estimated 11 matches for "syslinux_ipappend_strings".

2019 Apr 26
1
Fix: menu indent for menu entry
...label. Regards, Dany *Patch* --- syslinux-6.03/com32/menu/readconfig.c.orig 2019-04-26 13:22:46.817379317 -0500 +++ syslinux-6.03/com32/menu/readconfig.c 2019-04-26 14:12:26.085625360 -0500 @@ -319,6 +319,15 @@ static void record(struct menu *m, struc struct menu_entry *me; const struct syslinux_ipappend_strings *ipappend; + /* Handle indentation of item with sub-menu while there's no item yet */ + if (m->parent_entry && m->nentries == 0 && ld->menuindent) { + const char *dn; + + rsprintf(&dn, "%*s%s", ld->menuindent, "", m->parent_entry-&g...
2010 Jul 14
1
[PATCH] gfxboot: allow boot entry to start with label instead of menu_label
.../com32/gfxboot/gfxboot.c index dd4d641..77a3275 100644 --- a/com32/gfxboot/gfxboot.c +++ b/com32/gfxboot/gfxboot.c @@ -790,7 +790,7 @@ void boot(int index) { char *arg, *alt_kernel; menu_t *menu_ptr; - int i, label_len; + int i, label_len, menu_label_len; unsigned ipapp; const struct syslinux_ipappend_strings *ipappend; @@ -802,18 +802,22 @@ void boot(int index) if(!menu_ptr || !menu_ptr->menu_label) return; arg = skip_spaces(cmdline); - label_len = strlen(menu_ptr->menu_label); + label_len = strlen(menu_ptr->label); + menu_label_len = strlen(menu_ptr->menu_label); // if it...
2012 Oct 23
1
Syslinux 4.06 released
...ction steps. Add postexec command to run a particular entry after HDT's execution, add silent option and various fixes. * ifcpu.c32: Detect hypervisor presence. * lua.c32: Add dhcp support and support for native Syslinux functions syslinux_config(), syslinux_ipappend_strings() and syslinux_reboot(). * isohybrid: Workaround for various EFI systems. * pxechn.c32, a PXE NBP chainloader. More versatile alternative to pxechain.com and resolves the PXELINUX -> WDS issue with Microsoft Windows Server 2008R2 (Gene Cumm)....
2008 Mar 03
3
finding mac address while in menusystem (com32)
Hi I have made myself a derivated menusystem based on the complex.c menu that cames with syslinux. And now I need to read a file, search for my pxebooted netcards mac address, and write some changes back to the same file. All the writing and reading I hopes will be of no trouble, but how can i find my own mac address? (and IP adress would be nice). I have searched the list, but I really cannot
2016 Jun 29
0
Fwd: [PATCH] {vesa}menu.c32 feature => hide menu entry for specific sources
...16-05-06 18:37:06.573393370 +0200 @@ -232,6 +232,7 @@ struct labeldata { int save; int immediate; struct menu *submenu; + const char *visiblesource; }; /* Menu currently being parsed */ @@ -318,6 +319,7 @@ static void record(struct menu *m, struc int i; struct menu_entry *me; const struct syslinux_ipappend_strings *ipappend; + const union syslinux_derivative_info *sdi; if (!ld->label) return; /* Nothing defined */ @@ -326,6 +328,34 @@ static void record(struct menu *m, struc if (ld->menuhide) m = hide_menu; + /* if HIDEIFNOT is specified , then send this entry to "hidden menu" unt...
2007 Jun 05
3
IP details in COM32 module
Hi all I'm trying to resolve a problem that's recently popped up by turning on auxillary VLANs for our Linux workstations. The problem shows as DHCP failling for anaconda (but always succeeds for PXE). I tried adding 'ipappend 1' to the pxelinux config files but had no joy. I'm thinking that if I write a COM32 module that adds "ip=1.2.3.4 gateway=1.2.3.1
2008 Mar 01
0
SYSLINUX 3.62 released
...ways show at least one unit Get rid of 4096-entry limit in the simple menu system rllback: improve compression by allowing two-byte run lengths VESA: work around bug in the Bochs VESA BIOS memdump: fix typo Submenu support: development snapshot Actually implement syslinux_ipappend_strings() Actually implement strnlen() submenu snapshot: it compiles now... [v]rsprintf(): actually set the return pointer... refstr_get(): handle NULL, force inline Simple menu: use refstrings consistently; now works again refstr: handle NULL in refstr[n]dup() sim...
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com> Since we can't use __intcall() for EFI, and since we can now have the ELF module code resolve all our symbols at runtime, we should delete as many references to __intcall() as possible and just access the symbols directly. The most interesting patch is the support for weak symbols. We need to be able to reference derivative-specific
2012 Aug 14
1
[GIT PULL] elflink fixes
...har *cmdline, uint32_t ipappend_flags, uint32_t type); diff --git a/com32/include/syslinux/config.h b/com32/include/syslinux/config.h index 50bd52f..7bdcdd6 100644 --- a/com32/include/syslinux/config.h +++ b/com32/include/syslinux/config.h @@ -181,4 +181,9 @@ static inline const struct syslinux_ipappend_strings return &__syslinux_ipappend_strings; } +static inline enum syslinux_filesystem syslinux_filesystem(void) +{ + return syslinux_derivative_info()->c.filesystem; +} + #endif /* _SYSLINUX_CONFIG_H */ diff --git a/com32/include/syslinux/features.h b/com32/include/syslinux/features.h i...
2011 May 25
1
[GIT PULL] elflink ldlinux
.../* We do ipappend "manually" */ __intcall(0x22, &ireg, NULL); } diff --git a/com32/elflink/ldlinux/ipappend.c b/com32/elflink/ldlinux/ipappend.c index bd00092..cbd02b1 100644 --- a/com32/elflink/ldlinux/ipappend.c +++ b/com32/elflink/ldlinux/ipappend.c @@ -38,7 +38,7 @@ struct syslinux_ipappend_strings __syslinux_ipappend_strings; static const char *syslinux_ipappend_string_list[32]; -void __constructor __syslinux_get_ipappend_strings(void) +void __syslinux_get_ipappend_strings(void) { static com32sys_t reg; int i; diff --git a/com32/elflink/ldlinux/ldlinux.c b/com32/elflink/ldlinux...
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com> The following patch series is available at, git://git.zytor.com/users/mfleming/syslinux.git elflink All patches are against the 'elflink' branch. This series fixes a few serious bugs and some behavioural incompatibilities with the 4.x series. Matt Fleming (19): ldlinux: Initialise 'p' before using it. ldlinux: Parse