search for: s_pxenv_file_check_api

Displaying 3 results from an estimated 3 matches for "s_pxenv_file_check_api".

2010 Mar 01
0
[PATCH] com32: recognize gPXE's COMBOOT as gPXE
...OLINUX = 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_PXELINUX) - return false; /* Not PXELINUX */ + if (sv->filesystem != SYSLINUX_FS_PXELINUX && sv->filesystem != SYSLINUX_FS_GPXE) + return false; /* Not PXELINUX or gPXE...
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
...ti.rows = BIOS_ROWS ? BIOS_ROWS + 1 : 25; diff --git a/com32/lib/sys/gpxe.c b/com32/lib/sys/gpxe.c index 06c4510..3cc2b84 100644 --- a/com32/lib/sys/gpxe.c +++ b/com32/lib/sys/gpxe.c @@ -7,9 +7,9 @@ bool is_gpxe(void) { const struct syslinux_version *sv; - com32sys_t reg; struct s_PXENV_FILE_CHECK_API *fca; bool gpxe; + int err; sv = syslinux_version(); if (sv->filesystem != SYSLINUX_FS_PXELINUX) @@ -22,20 +22,14 @@ bool is_gpxe(void) fca->Size = sizeof *fca; fca->Magic = 0x91d447b2; - memset(&reg, 0, sizeof reg); - reg.eax.w[0] = 0x0009; - r...