search for: module_load_dependencies

Displaying 7 results from an estimated 7 matches for "module_load_dependencies".

2011 Apr 01
1
[GIT PULL] elflink core
.../exec.c @@ -343,11 +343,45 @@ int spawn_load(const char *name,const char **argv) */ } +/* + * Avoid circular dependencies. + * + * It's possible that someone messed up the modules.dep file and that + * it includes circular dependencies, so we need to take steps here to + * avoid looping in module_load_dependencies() forever. + * + * We build a singly-linked list of modules that are in the middle of + * being loaded. When they have completed loading their entry is + * removed from this list in LIFO order (new entries are always added + * to the head of the list). + */ +struct loading_dep { + const char *name;...
2011 May 25
1
[GIT PULL] elflink ldlinux
...x/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 */ new_linux_kernel(kernel, cmdline); @@ -148,14 +148,...
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
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 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
2011 Mar 16
0
[GIT PULL] elflink compiler warning fixes
...OMMAND_DELIM); + module_name = strtok((char *)cmd, COMMAND_DELIM); len_mn = strlen(module_name); if (!strcmp(module_name + len_mn - 4, ".c32")) { @@ -397,7 +397,7 @@ void process_command(const char *cmd, bool history) } while (argc < MAX_COMMAND_ARGS); argv[argc] = NULL; module_load_dependencies(module_name, MODULES_DEP); - spawn_load(module_name, argv); + spawn_load(module_name, (const char **)argv); } else if (!strcmp(module_name + len_mn - 2, ".0")) { execute(cmd, KT_PXE); } else if (!strcmp(module_name + len_mn - 3, ".bs")) { @@ -418,7 +418,6 @@ void proces...
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