Displaying 12 results from an estimated 12 matches for "ocmdlin".
Did you mean:
ocmdline
2016 Mar 20
0
[PATCH 0/1] EFI image booting capabilities
...,6 +28,9 @@ int new_linux_kernel(char *okernel, char
> bool opt_quiet = false;
> char *initrd_name, *cmdline;
>
> + if(firmware && firmware->clear_screen)
> + firmware->clear_screen();
> +
> dprintf("okernel = %s, ocmdline = %s", okernel, ocmdline);
>
> if (okernel)
The firmware NULL check seems first, unnecessary, and second, inconsistent.
> @@ -129,3 +137,70 @@ bail:
> printf("%s\n", strerror(errno));
> return 1;
> }
> +
> +
> +int new_efi_image(...
2015 Feb 20
6
[PATCH 0/1] EFI image booting capabilities
...h"
const char *globaldefault = NULL;
@@ -23,6 +28,9 @@ int new_linux_kernel(char *okernel, char
bool opt_quiet = false;
char *initrd_name, *cmdline;
+ if(firmware && firmware->clear_screen)
+ firmware->clear_screen();
+
dprintf("okernel = %s, ocmdline = %s", okernel, ocmdline);
if (okernel)
@@ -129,3 +137,70 @@ bail:
printf("%s\n", strerror(errno));
return 1;
}
+
+
+int new_efi_image(char *okernel, char *ocmdline)
+{
+ const char *kernel_name = NULL, *args = NULL;
+ char *temp;
+ void *kernel_data;
+ size_t k...
2011 Mar 16
0
[GIT PULL] elflink compiler warning fixes
...-18,9 +18,9 @@ enum kernel_type {
KT_CONFIG, /* Configuration file */
};
-extern char *append;
+extern const char *append;
extern char *ippappend;
-extern char *globaldefault;
+extern const char *globaldefault;
extern short onerrorlen;
extern int new_linux_kernel(char *okernel, char *ocmdline);
diff --git a/core/elflink/execute.c b/core/elflink/execute.c
index 79dbc55..7e70323 100644
--- a/core/elflink/execute.c
+++ b/core/elflink/execute.c
@@ -16,6 +16,8 @@
#include <dprintf.h>
#include <com32.h>
+#include <sys/exec.h>
+#include "core.h"
#include "...
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 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...nerror; //"onerror" command line
extern void cat_help_file(int key);
+extern struct menu_entry *find_label(const char *str);
+extern void print_labels(const char *prefix, size_t len);
extern void eprintf(const char *filename, ...);
+extern int new_linux_kernel(char *okernel, char *ocmdline);
+
#endif /* __CONFIG_H__ */
diff --git a/com32/elflink/ldlinux/eprintf.c b/com32/elflink/ldlinux/eprintf.c
index d8858ff..f15edc6 100644
--- a/com32/elflink/ldlinux/eprintf.c
+++ b/com32/elflink/ldlinux/eprintf.c
@@ -1,6 +1,7 @@
#include <stdio.h>
#include <string.h>
#include <...
2017 Mar 05
0
[PATCH] Fix recognition of keeppxe option
...and a uint16_t (to match the called
function)
--
-Gene
diff --git a/com32/elflink/ldlinux/kernel.c b/com32/elflink/ldlinux/kernel.c
index f3ba37f..942f97c 100644
--- a/com32/elflink/ldlinux/kernel.c
+++ b/com32/elflink/ldlinux/kernel.c
@@ -48,14 +48,6 @@ int new_linux_kernel(char *okernel, char *ocmdline)
sprintf(cmdline, "BOOT_IMAGE=%s %s", kernel_name, args);
- /* "keeppxe" handling */
-#if IS_PXELINUX
- extern char KeepPXE;
-
- if (strstr(cmdline, "keeppxe"))
- KeepPXE |= 1;
-#endif
-
if (strstr(cmdline, "quiet"))
opt_...
2016 Jun 10
4
[PATCH] Fix recognition of keeppxe option
PXELINUX has stopped recognizing the keeppxe option on the kernel
command line. Here is a patch to make it work again.
With COM32, it is no longer possible to use preprocessor directives to
determine the SYSLINUX variant. The code inside the #if will never be
compiled. So, I changed it to use syslinux_filesystem() to determine the
variant. Also, I moved the relevant code from
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 Nov 02
10
[PATCH 0/9] elflink fixes
From: Matt Fleming <matt.fleming at intel.com>
Here are the patches that I've got queued up based on the very helpful
feedback I received from people testing Syslinux 5.00-pre9. Unless
anyone has any concerns these will make it into Syslinux 5.00-pre10.
Matt Fleming (9):
pxe: Don't call open_config() from the pxe core
ldlinux: Print a warning if no config file is found
2012 Aug 14
1
[GIT PULL] elflink fixes
...if (sdi->c.filesystem == SYSLINUX_FS_PXELINUX) {
diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h
index 4583202..ea4736e 100644
--- a/com32/elflink/ldlinux/config.h
+++ b/com32/elflink/ldlinux/config.h
@@ -47,4 +47,6 @@ extern int new_linux_kernel(char *okernel, char *ocmdline);
extern void pm_load_high(com32sys_t *regs);
+extern void ldlinux_enter_command(bool prompt);
+
#endif /* __CONFIG_H__ */
diff --git a/com32/elflink/ldlinux/execute.c b/com32/elflink/ldlinux/execute.c
index 5d128cb..e7969c2 100644
--- a/com32/elflink/ldlinux/execute.c
+++ b/com32/elflink/ld...
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its
last on-disk structure changes -- and it _suprisingly_ worked as
expected. Right, now I can finally get rid of GRUB and use Syslinux to
boot my Linux on EFI from a rootfs with xfs. Shit, I have two
partitions (the first one being the required ESP) so there is no way to
access the other partitions since because Syslinux does not
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