search for: syslinux_config_fil

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

Did you mean: syslinux_config_file
2008 Jul 19
0
[PATCH] ethersel: use library functions
Replace get_config() and execute() with syslinux_config_file() and syslinux_run_command(). - Sebastian Index: syslinux-3.71-pre14-8-gb8f5d7d/com32/modules/ethersel.c =================================================================== --- syslinux-3.71-pre14-8-gb8f5d7d.orig/com32/modules/ethersel.c 2008-07-18 19:45:15.000000000 +0200 +++ syslinux-3.71-pre1...
2013 Jun 27
3
Syslinux 6.00 released
...nux: Pass config filename as argv[1] to ldlinux.c32") we stopped using ConfigName to store the filename of the config file we intend to open in execute() since it interfered with the filesystem-specific open_config() implementations. But a side-effect of this change is that syslinux_config_file() no longer works if we explicitly pass a filename to parse_config_file(). The logical place to keep ConfigName in sync is in parse_config_file() since it's expected that all the filesystem-specific open_config() functions will fill out ConfigName for us. In the case where...
2010 Jul 14
2
[PATCH] gfxboot: add include and menu include support
...f[MAX_CONFIG_LINE_LEN]; - unsigned u, menu_idx = 0, label_size = 0, append_size = 0; - menu_t *menu_ptr = NULL, **menu_next = &menu; + unsigned u, top_level = 0; - menu_default = calloc(1, sizeof *menu_default); + if(!strcmp(filename, "~")) { + top_level = 1; + filename = syslinux_config_file(); + gfx_menu.entries = 0; + gfx_menu.label_size = 0; + gfx_menu.arg_size = 0; + menu_ptr = NULL; + menu_next = &menu; + menu_default = calloc(1, sizeof *menu_default); + } - if(!(f = fopen(syslinux_config_file(), "r"))) return 1; + if(!(f = fopen(filename, &qu...
2013 Jun 27
0
Syslinux 6.00 released
...filename as argv[1] to ldlinux.c32") we stopped using ConfigName | to | store the filename of the config file we intend to open in | execute() | since it interfered with the filesystem-specific open_config() | implementations. But a side-effect of this change is that | syslinux_config_file() no longer works if we explicitly pass a | filename to parse_config_file(). | | The logical place to keep ConfigName in sync is in | parse_config_file() | since it's expected that all the filesystem-specific | open_config() | functions will fill out ConfigName for...
2013 Jun 27
3
Syslinux 6.00 released
Hi, I have the same problem as Helmut with INCLUDE keyword and extlinux 5.10 an later. The following configuration has been tested and worked with extlinux 4.05, 4.06, 5.01 Contents of "boot_label" file DEFAULT 1 --------------------------------------- Contents of "extlinux.conf" file # Enable menu.c32 UI menu.c32 # Disable the boot: prompt PROMPT 0 # 5 sec TIMEOUT 50 #
2010 Jun 27
1
[PATCH] ROSH: Upgraded
...- * cmdstr command string to process - * pwdstr Present Working Directory string */ -void rosh_cfg(const char *cmdstr, const char *pwdstr) +void rosh_cfg(void) { - ROSH_DEBUG("CMD: '%s'\npwd: '%s'\n", cmdstr, pwdstr); printf("CFG: '%s'\n", syslinux_config_file()); } /* rosh_cfg */ +/* Process optstr to optarr + * optstr option string to process + * optarr option array to populate + */ +void rosh_ls_arg_opt(const char *optstr, int *optarr) +{ + char *cpos; + cpos = strchr(optstr, 'l'); + if (cpos) { + optarr[0] = cpos - optstr; +...
2009 Feb 15
2
COM32 module: Read-Only shell
...e syslinux config file name + * cmdstr command string to process + * pwdstr Present Working Directory string + */ +void rosh_cfg(const char *cmdstr, const char *pwdstr) +{ + ROSH_DEBUG("CMD: '%s'\npwd: '%s'\n", cmdstr, pwdstr); + printf("CFG: '%s'\n", syslinux_config_file()); +} /* rosh_cfg */ + +/* Simple directory listing for one argument (file/directory) based on + * filestr and pwdstr + * ifilstr input filename/directory name to list + * pwdstr Present Working Directory string + */ +void rosh_dir_arg(const char *ifilstr, const char *pwdstr) +{ + struct stat fds...
2015 Nov 27
8
[PATCH 0/2] Do not use the "red zone" on EFI
From: Sylvain Gault <sylvain.gault at gmail.com> The System V ABI for x86-64 specify that a "red zone" is an area of 128 bytes above the current stack frame. This area can be used by a called function in order to avoid the overhead of modifying the stack pointer. The direct effect is that interrupt/event/signal handlers must not write to this area. In the UEFI calling convention,
2019 May 24
3
[PATCH] (vesa)menu.c32: Add support for BLS
...(bdx); + clear_bls_data(nbd); + free(nbd); + if (d) + closedir(d); + return -1; +} + static int parse_one_config(const char *filename) { FILE *f; @@ -1067,6 +1404,9 @@ static int parse_one_config(const char *filename) if (!strcmp(filename, "~")) filename = syslinux_config_file(); + if (!strncmp(filename, "bls1:", 5) || !strncmp(filename, "BLS1:", 5)) + return parse_bls1_dir(filename+5); + dprintf("Opening config file: %s ", filename); f = fopen(filename, "r"); -- 2.20.1
2009 Mar 05
0
[PATCH 5/5] COM32/rosh: Improvements
...file name - * cmdstr command string to process - * pwdstr Present Working Directory string */ -void rosh_cfg(const char *cmdstr, const char *pwdstr) +void rosh_cfg() { - ROSH_DEBUG("CMD: '%s'\npwd: '%s'\n", cmdstr, pwdstr); printf("CFG: '%s'\n", syslinux_config_file()); } /* rosh_cfg */ +/* Process optstr to optarr + * optstr option string to process + * optarr option array to populate + */ +void rosh_ls_arg_opt(const char *optstr, int *optarr) +{ + char *cpos; + cpos = strchr(optstr, 'l'); + if (cpos) { + optarr[0] = cpos - optstr; + } else { + o...
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