search for: kernel_type

Displaying 18 results from an estimated 18 matches for "kernel_type".

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
...link/ldlinux/chainboot.c @@ -30,11 +30,12 @@ #include "localboot.h" #include "bios.h" +#include <syslinux/boot.h> #include <syslinux/bootrm.h> #include <syslinux/movebits.h> #include <syslinux/config.h> -void chainboot_file(const char *file, enum kernel_type type) +void chainboot_file(const char *file, uint32_t type) { uint8_t keeppxe = 0; const union syslinux_derivative_info *sdi; @@ -97,7 +98,7 @@ void chainboot_file(const char *file, enum kernel_type type) * superblock. */ if (sdi->c.filesystem == SYSLINUX_FS_SYSLINUX...
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
2012 Jul 01
1
[PATCH] elflink: fix return from execute()
...2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/com32/elflink/ldlinux/execute.c b/com32/elflink/ldlinux/execute.c index f713eb1..899154c 100644 --- a/com32/elflink/ldlinux/execute.c +++ b/com32/elflink/ldlinux/execute.c @@ -108,7 +108,7 @@ void execute(const char *cmdline, enum kernel_type type) local_boot(strtoul(kernel, NULL, 0)); } else if (type == KT_PXE || type == KT_BSS || type == KT_BOOT) { chainboot_file(kernel, type); - } else { + } else if (type == KT_KERNEL) { /* Need add one item for kernel load, as we don't use * the assembly runkernel.inc any more */...
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
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...x build warnings from missing prototypes elflink: Delete dump_elf_module() elflink: Fix build warnings elflink: Fix module_load() compiler warnings elflink: Add _module_unload() prototype to module.h ldlinux: Include headers for function prototypes ldlinux: parse_kernel_type() parameter should be const ldlinux: Tag __syslinux_init() as __constructor ldlinux: Match arg types to function prototypes ldlinux: Fix check for last command line entry ldlinux: Add print_labels() prototype to config.h ldlinux: Silence gcc warning about uninitialized...
2011 Apr 01
1
[GIT PULL] elflink ldlinux
The following changes since commit 8c576f1fe03e34879921311f46613a35c6530000: Merge remote-tracking branch 'mfleming/for-hpa/elflink/fix-compiler-warnings' into elflink (2011-03-16 12:53:58 -0700) are available in the git repository at: git://git.zytor.com/users/mfleming/syslinux.git for-hpa/elflink/ldlinux Matt Fleming (1): ldlinux: Perform auto-boot if NOESCAPE set in config
2011 Mar 16
0
[GIT PULL] elflink compiler warning fixes
...h> #include <sys/module.h> #include "menu.h" diff --git a/com32/elflink/modules/menu.h b/com32/elflink/modules/menu.h index c7d7079..90b54a5 100644 --- a/com32/elflink/modules/menu.h +++ b/com32/elflink/modules/menu.h @@ -208,4 +208,7 @@ void execute(const char *cmdline, enum kernel_type type); /* drain.c */ void drain_keyboard(void); +/* printmsg.c */ +int draw_message_file(const char *filename); + #endif /* MENU_H */ diff --git a/com32/elflink/modules/mytest.c b/com32/elflink/modules/mytest.c index ddc8a0e..04c59ac 100644 --- a/com32/elflink/modules/mytest.c +++ b/com32/elfl...
2007 Feb 23
1
Patch: Readconfig wont parse certain options anymore
com32/modules/readconfig.c: This is a side effect of is_kernel_type() overwrite the current pointer in a loop context. Hence subsequent options aren't parsed ever. This is particularily visible, if you use timeout option, which wont work in the latest 3.40-pre7. Patch: --- com32/modules/readconfig.c /opensource/syslinux-3.40-pre7/com32/modules/readconfig.c#2...
2011 May 25
1
[GIT PULL] elflink ldlinux
...x/advwrite.c rename to com32/elflink/ldlinux/advwrite.c diff --git a/com32/elflink/ldlinux/execute.c b/com32/elflink/ldlinux/execute.c index a00a5b1..635e327 100644 --- a/com32/elflink/ldlinux/execute.c +++ b/com32/elflink/ldlinux/execute.c @@ -134,7 +134,7 @@ void execute(const char *cmdline, enum kernel_type type) argv[argc] = NULL; module_load_dependencies(kernel, "modules.dep"); spawn_load(kernel, argc, argv); - } else if (type <= KT_KERNEL) { + } else if (type == KT_KERNEL) { /* Need add one item for kernel load, as we don't use * the assembly runkernel.inc any more *...
2010 Oct 02
4
[PATCH 0/4] some fixes on elflink branch
This is a small set of patches for elflink branch based on feng's elflink branch. hpa, It seems that I can't log on terminus by ssh at home. So I can't push these patches on my git tree. Liu Aleaxander (4): elflink: Cleanup some warnings elflink: Fix the wrong malloc size in enter_cmdline elflink: Do clear screen even if we have no pDraw_Menu method elflink: Add Ctrl-p +
2012 Jun 26
2
[GIT PULL] elflink bug fixes
...amp;outreg); // If successful does not return diff --git a/com32/elflink/ldlinux/chainboot.c b/com32/elflink/ldlinux/chainboot.c index cdaafb8..c1efadf 100644 --- a/com32/elflink/ldlinux/chainboot.c +++ b/com32/elflink/ldlinux/chainboot.c @@ -85,7 +85,7 @@ void chainboot_file(const char *file, enum kernel_type type) if (sdi->c.filesystem == SYSLINUX_FS_SYSLINUX || sdi->c.filesystem == SYSLINUX_FS_EXTLINUX) { if (syslinux_add_movelist(&fraglist, 0x800 - 18, - (const void *)sdi->r.esbx, 16)) + (addr_t)sdi->r.esbx, 16)) goto bail; /* DS:SI points to partition inf...
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...arm[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_kernel_type(char *cmdstr, enum kernel_type *type) { @@ -1239,6 +1252,40 @@ static void parse_config_file(FILE * f) default_cmd = refstrdup(skipspace(p + 2)); } + else if (looking_at(p, "bls1")) { + p = skipspace(p + 4); + if (looking_at(p, "include")) { + p = skipspace(...
2007 Jan 04
21
[PATCH] make balloon driver not return pages which are in [xen_start_info->nr_pages, max_pfn] on ia64
make balloon driver not return pages which are in [xen_start_info->nr_pages, max_pfn] on ia64. On ia64 memory might be assigned sparsely. In that case xen_start_info->nr_pages and max_pfn doesn''t match while pages which are in [xen_start_info->nr_pages, max_pfn] are used. -- yamahata _______________________________________________ Xen-devel mailing list
2010 Apr 23
1
Path simple menu integrated progress indicator
...r *filename, void (*callback)(const char* name, size_t cur, size_t total)) +{ + void *data; + size_t len; + + if (loadfile_w_callback(filename, &data, &len, callback)) + return -1; + + return initramfs_add_data(ihead, data, len, len, 4); +} + + void execute(const char *cmdline, enum kernel_type type) { com32sys_t ireg; - const char *p, *const *pp; + char *p, *const *pp; char *q = __com32.cs_bounce; const char *kernel, *args; - memset(&ireg, 0, sizeof ireg); - kernel = q; p = cmdline; while (*p && !my_isspace(*p)) { @@ -48,22 +151,60 @@...
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 Feb 17
5
[PATCH 0/4] Reduce core size
From: Matt Fleming <matt.fleming at linux.intel.com> These patches are based on the elflink branch. This set of patches is my attempt at moving the command-line interface functionality out of the core and into an ELF module to reduce the size of the core. The most interesting patch is [PATCH 4/4] which moves the cli code out of core/elflink and into com32/elflink/modules. [PATCH 4/4] is
2012 Apr 11
0
Model file from ranking using Xapian::Letor
...with your new queries with libsvm based letor module. Parth. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20120411/88a1d7aa/attachment.html> -------------- next part -------------- svm_type nu_svr kernel_type linear nr_class 2 total_sv 1222 rho -0.499555 SV 1 1:0.63093 2:0.631742 3:0.665946 4:0.44966 5:0.217759 6:0.223291 7:1 8:1 9:1 10:1 11:1 12:1 13:0.7344 14:0.292458 15:0.31011 16:0.97864 17:0.922678 18:1 19:1 -1 1:0.63093 2:0.654513 3:0.686602 4:0.55034 5:0.293018 6:0.299418 7:1 8:1 9:1 10:1 11:1 1...