search for: mparm

Displaying 8 results from an estimated 8 matches for "mparm".

Did you mean: parm
2010 Apr 23
1
Path simple menu integrated progress indicator
..., enum k /* drain.c */ void drain_keyboard(void); +extern bool opt_quiet; + +/* The symbol "cm" always refers to the current menu across this file... */ +extern struct menu *cm; + +/* These macros assume "cm" is a pointer to the current menu */ +#define WIDTH (cm->mparm[P_WIDTH]) +#define MARGIN (cm->mparm[P_MARGIN]) +#define PASSWD_MARGIN (cm->mparm[P_PASSWD_MARGIN]) +#define MENU_ROWS (cm->mparm[P_MENU_ROWS]) +#define TABMSG_ROW (cm->mparm[P_TABMSG_ROW]+VSHIFT) +#define LOADMSG_ROW (cm->mparm[P_LOADMSG_ROW]+VSHIFT) +#define CM...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com> This series fixes some bugs and switches the elflink branch to be entirely ELF modules. It applies on top of, http://syslinux.zytor.com/archives/2011-April/016369.html The deletions in the diff stat below are mainly from deleting com32/elflink/modules (finally!). Now there should be no duplicate code because we don't need COM32 and
2011 Apr 01
0
[GIT PULL] elflink cmdline
...config.c b/com32/elflink/ldlinux/readconfig.c index e13d6d4..66e84df 100644 --- a/com32/elflink/ldlinux/readconfig.c +++ b/com32/elflink/ldlinux/readconfig.c @@ -27,6 +27,7 @@ #include "menu.h" #include "config.h" +#include "getkey.h" const struct menu_parameter mparm[NPARAMS] = { [P_WIDTH] = {"width", 0}, @@ -420,6 +421,17 @@ static struct menu *end_submenu(void) return current_menu->parent ? current_menu->parent : current_menu; } +void print_labels(const char *prefix, size_t len) +{ + struct menu_entry *me; + + printf("\...
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com> This is a series of patches that, * shrink the core by moving things into an ldlinux ELF module * begin wiring up some of the C versions of various functions The core now only contains essential code and loads the ldlinux module to do everything else, like providing a command line interface and loading kernels. The config file parsing
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...; +/* BLS1 entry global settings */ +char *bls1_labelf = NULL; +char *bls1_format = NULL; +char *bls1_sortby = NULL; +char *bls1_pinmin = NULL; +char *bls1_pinmax = NULL; +int bls1_padver = BLS1_PADVER; +int bls1_ascend = BLS1_ASCEND; +int bls1_shwlbl = BLS1_SHWLBL; + const struct menu_parameter mparm[NPARAMS] = { [P_WIDTH] = {"width", 0}, [P_MARGIN] = {"margin", 10}, @@ -641,6 +653,7 @@ extern uint16_t PXERetry; static struct labeldata ld; static int parse_main_config(const char *filename); +static int parse_bls1_dir(const char *dirname); static char *is_ker...
2011 May 25
1
[GIT PULL] elflink ldlinux
Hi, These patches contain support for some features that are already in Syslinux 4 but weren't working properly on the elflink branch. It's another step closer to feature parity with Syslinux 4. Having to jump through the comboot API for localboot support is less than ideal and I'll eventually fix that, probably when we move a big chunk of code from asm to C. Also, there's a
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
...- + ldlinux_enter_command(forceprompt); return 0; } diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c index 1a8434c..1db397a 100644 --- a/com32/elflink/ldlinux/readconfig.c +++ b/com32/elflink/ldlinux/readconfig.c @@ -52,6 +52,22 @@ const struct menu_parameter mparm[NPARAMS] = { [P_HIDDEN_ROW] = {"hiddenrow", -2}, }; +/* Must match enum kernel_type */ +static const char *const kernel_types[] = { + "none", + "localboot", + "kernel", + "linux", + "boot", + "bss", +...