Displaying 9 results from an estimated 9 matches for "refstr".
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
...elflink => com32/elflink/ldlinux}/getadv.c | 0
{core/elflink => com32/elflink/ldlinux}/ipappend.c | 0
com32/elflink/ldlinux/ldlinux.c | 83 +++++++
.../elflink => com32/elflink/ldlinux}/readconfig.c | 92 +++++----
{core/elflink => com32/elflink/ldlinux}/refstr.c | 0
{core/elflink => com32/elflink/ldlinux}/refstr.h | 0
com32/elflink/modules/Makefile | 4 +-
com32/elflink/modules/cli.h | 6 +-
com32/elflink/modules/menu.h | 17 --
com32/elflink/modules/menumain.c...
2008 Mar 01
0
SYSLINUX 3.62 released
...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()
simple menu: first cut at working submenus
simple menu: The use of realloc() requires indirect pointers
Document hierarchial menus so far......
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...c
diff --git a/com32/elflink/ldlinux/Makefile b/com32/elflink/ldlinux/Makefile
index 87c0d362..ac4587dd 100644
--- a/com32/elflink/ldlinux/Makefile
+++ b/com32/elflink/ldlinux/Makefile
@@ -18,7 +18,7 @@ LIBS = --whole-archive $(objdir)/com32/lib/libcom32min.a
OBJS = ldlinux.o cli.o readconfig.o refstr.o colors.o getadv.o adv.o \
execute.o chainboot.o kernel.o get_key.o advwrite.o setadv.o \
- loadhigh.o msg.o
+ loadhigh.o msg.o bls.o
BTARGET = $(LDLINUX)
diff --git a/com32/elflink/ldlinux/bls.c b/com32/elflink/ldlinux/bls.c
new file mode 100644
index 00000000..16e8bf18
--- /dev/null
+++ b...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
...le is already initialised when we enter main()
elflink: Remove MODULE_MAIN() from executable ELF modules
elflink: Move more code from core/ into ldlinux
com32: Put deleted object files back into the Makefile
com32: Remove klibc.c32
cmenu: Rename menu.h to cmenu.h
com32: We only need one refstr.h
com32: Move menu.h
elflink: Delete core-elf.h
elflink: Make ELF the default object format
exit.c: Truncate exit status to uint8_t
elflink: ldlinux should not have any dependencies
elflink: Don't compile in debug output by default
elflink: Don't require every module to have i...
2012 May 04
3
[GIT PULL] elflink fixes
...b/com32/elflink/ldlinux/readconfig.c
@@ -68,6 +68,7 @@ short nohalt = 1; //idle.inc
const char *default_cmd = NULL; //"default" command line
const char *onerror = NULL; //"onerror" command line
+const char *ontimeout = NULL; //"ontimeout" command line
/* Empty refstring */
const char *empty_string;
@@ -79,6 +80,7 @@ struct menu *root_menu, *start_menu, *hide_menu, *menu_list, *default_menu;
int shiftkey = 0; /* Only display menu if shift key pressed */
int hiddenmenu = 0;
long long totaltimeout = 0;
+unsigned int kbdtimeout = 0;
/* Keep track of global...
2011 Mar 16
0
[GIT PULL] elflink compiler warning fixes
...c
short nohalt = 1; //idle.inc
-char *default_cmd = NULL; //"default" command line
-char *onerror = NULL; //"onerror" command line
+const char *default_cmd = NULL; //"default" command line
+const char *onerror = NULL; //"onerror" command line
/* Empty refstring */
const char *empty_string;
@@ -75,7 +75,7 @@ long long totaltimeout = 0;
/* Keep track of global default */
static int has_ui = 0; /* DEFAULT only counts if UI is found */
-extern char *globaldefault;
+extern const char *globaldefault;
static bool menusave = false; /* True if there is a...
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
2011 May 25
1
[GIT PULL] elflink ldlinux
...kefile b/com32/elflink/ldlinux/Makefile
index 318b3ac..32780c4 100644
--- a/com32/elflink/ldlinux/Makefile
+++ b/com32/elflink/ldlinux/Makefile
@@ -19,7 +19,8 @@ CFLAGS += -I$(topdir)/core/elflink -I$(topdir)/core/include
all: ldlinux.c32 ldlinux_lnx.a
ldlinux.c32 : ldlinux.o cli.o readconfig.o refstr.o colors.o getadv.o \
- adv.o ipappend.o execute.o kernel.o get_key.o
+ adv.o ipappend.o execute.o kernel.o get_key.o \
+ advwrite.o setadv.o
$(LD) $(LDFLAGS) -o $@ $^
LNXLIBOBJS = get_key.lo
diff --git a/com32/elflink/ldlinux/adv.c b/com32/elflink/ldlinux/adv.c
index be38e89..7869547 1006...
2019 May 24
3
[PATCH] (vesa)menu.c32: Add support for BLS
...m32.h>
+#include <dirent.h>
#include <syslinux/adv.h>
#include <syslinux/config.h>
#include "menu.h"
+/* BLS entry global settings */
+#define BLS_CHUNK 16
+int bls_version_places = 3;
+char *bls_sort_by = "machine-id version title";
+
/* Empty refstring */
const char *empty_string;
@@ -1060,6 +1066,337 @@ do_include:
}
}
+/*
+ * https://systemd.io/BOOT_LOADER_SPECIFICATION
+ * #type-1-boot-loader-specification-entries
+ */
+struct blsdata {
+ const char *title;
+ const char *version;
+ char *version0; /* version string padde...