Displaying 6 results from an estimated 6 matches for "syslinux_version".
Did you mean:
__syslinux_version
2010 Mar 21
6
[PATCH] mboot: set boot loader name
Set a pointer to syslinux_version()->version_string in mbinfo.
Signed-off-by: Sebastian Herbszt <herbszt at gmx.de>
diff --git a/com32/mboot/mboot.c b/com32/mboot/mboot.c
index 8425e06..76ef7a0 100644
--- a/com32/mboot/mboot.c
+++ b/com32/mboot/mboot.c
@@ -222,6 +222,13 @@ int main(int argc, char *argv[])
/* Add aux...
2010 Mar 01
0
[PATCH] com32: recognize gPXE's COMBOOT as gPXE
....h
index 868b0f1..2874665 100644
--- a/com32/include/syslinux/config.h
+++ b/com32/include/syslinux/config.h
@@ -44,6 +44,7 @@ enum syslinux_filesystem {
SYSLINUX_FS_PXELINUX = 0x32,
SYSLINUX_FS_ISOLINUX = 0x33,
SYSLINUX_FS_EXTLINUX = 0x34,
+ SYSLINUX_FS_GPXE = 0x46,
};
struct syslinux_version {
diff --git a/com32/lib/sys/gpxe.c b/com32/lib/sys/gpxe.c
index fae03f8..1b01abc 100644
--- a/com32/lib/sys/gpxe.c
+++ b/com32/lib/sys/gpxe.c
@@ -9,8 +9,8 @@ bool is_gpxe(void)
struct s_PXENV_FILE_CHECK_API *fca;
sv = syslinux_version();
- if (sv->filesystem != SYSLINUX_FS_PXELIN...
2017 Jul 01
0
[PATCH] Add new hash.c32 module
...#39;) c += 'A' - 'a';
+ else if ((c < 'A' || c > 'Z') && (c < '0' || c > '9')) c = '_';
+ buffer[i++] = c;
+ }
+ buffer[i] = 0;
+ return buffer;
+}
+
+static const char *unrockridge_iso(const char *name)
+{
+ const struct syslinux_version *sv;
+ sv = syslinux_version();
+ if (sv->filesystem != SYSLINUX_FS_ISOLINUX) {
+ return unrockridge(name);
+ } else {
+ return name;
+ }
+}
+
+static uint8_t *md5_file(const char *filename)
+{
+ int src_fd, count;
+ uint8_t in_buf[4096];
+ static uint8_t hash_value[16*2+1];
+ static unsigned...
2009 Mar 31
0
enhanced config.c32 module
...;
#include <stdbool.h>
#include <syslinux/boot.h>
#include "syslinux/config.h"
char bootlinux[255];
char extlinux[255];
char isolinux[255];
char pxelinux[255];
char syslinux[255];
bool extlinux_param;
bool isolinux_param;
bool pxelinux_param;
bool syslinux_param;
const struct syslinux_version *sv;
/*
* Detect which variant of syslinux is running.
*/
int detect_syslinux()
{
sv = syslinux_version();
switch (sv->filesystem) {
case SYSLINUX_FS_EXTLINUX:
strncpy(bootlinux,extlinux,sizeof(bootlinux));
extlinux_param=true;
break;
case SYSLINUX_FS_ISOLINUX:
s...
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
...void)
{
- REG_AX(inreg) = 0x0013;
- __intcall(0x22, &inreg, &outreg);
+ __idle();
}
unsigned int getversion(char *deriv, unsigned int *numfun)
{
- REG_AX(inreg) = 0x0001;
- __intcall(0x22, &inreg, &outreg);
if (deriv)
- *deriv = REG_DL(outreg);
+ *deriv = __syslinux_version.filesystem;
if (numfun)
- *numfun = REG_AX(outreg);
- return REG_CX(outreg);
+ *numfun = __syslinux_version.max_api;
+ return __syslinux_version.version;
}
void runsyslinuximage(const char *cmd, long ipappend)
diff --git a/com32/elflink/ldlinux/chainboot.c b/com32/elflink/ldlinux/cha...