[syslinux] Pxechn.C32 working under Uefi

Geert Stappers stappers at stappers.nl
Sun Sep 20 00:41:51 PDT 2015


On Sat, Sep 19, 2015 at 06:04:55PM -0400, Gene Cumm via Syslinux wrote:
> On Sat, Sep 19, 2015 at 4:32 PM, BALATON Zoltan <balaton op eik.bme.hu> wrote:
> > On Fri, 18 Sep 2015, Gene Cumm via Syslinux wrote:
> >>
> >> On Sep 18, 2015 7:07 AM, "Ady via Syslinux" <syslinux op zytor.com> wrote:
> >>
> >>> I doubt there has been any update to pxechn.c32 for UEFI support. Maybe
> >>> Gene can confirm.
> >>
> >>
> >> No.  pxechn.c32 is BIOS only for now.


--- a/doc/pxechn.txt
+++ b/doc/pxechn.txt
@@ -127,6 +127,10 @@ will currently cause the siaddr field to not be set properly
 The non-space constraint is due to how Syslinux variants parse the
 command line as of 2012-09-16.
 
+pxechn isn't yet ported to EFI environment.
+Want is needed, is finding equivalents for EFI calls of BIOS calls.
+That is a first step. Next step is integration in the build system.
+
 
 == AUTHOR ==
 {author} <{email}>


> > Why are there binaries of non-working components in the distribution? This
> > is confusing for us not knowing syslinux so well. Is there a list of files
> > somewhere that are known not to work despite being distributed? Is there a
> > way to not include these binaries to avoid confusion?
> 
> No one has spent the time to prevent some of the COM32s from being
> built on EFI architectures by working on the Makefiles.

--- a/efi/Makefile
+++ b/efi/Makefile
@@ -49,6 +49,13 @@ OBJS = $(subst $(SRC)/,,$(filter-out %wrapper.o, $(patsubst %
 
 OBJS += $(objdir)/core/codepage.o $(ARCH)/linux.o
 
+# Don't build objects that need functions that are not available in EFI
+# much better would be fixing http://bugzilla.syslinux.org/show_bug.cgi?id=37
+OBJS += $(filter-out \
+       %pxechn.o \
+       %reboot.o \
+       ,$(OBJS))
+
 # The DATE is set on the make command line when building binaries for
 # official release.  Otherwise, substitute a hex string that is pretty much
 # guaranteed to be unique to be unique from build to build.


HTH
Geert Stappers
-- 
Leven en laten leven
------------- volgend deel ------------
Een niet-tekst bijlage is gescrubt...
Naam: signature.asc
Type: application/pgp-signature
Grootte: 836 bytes
Omschrijving: Digital signature
URL : <http://www.zytor.com/pipermail/syslinux/attachments/20150920/a60c00c0/attachment.sig>


More information about the Syslinux mailing list