[syslinux] Question about syslinux EFI alpha version

Matt Fleming matt at console-pimps.org
Thu May 9 07:48:02 PDT 2013


On Thu, 09 May, at 07:03:21AM, H. Peter Anvin wrote:
> On 05/09/2013 05:51 AM, Matt Fleming wrote:
> > 
> > Yeah, that could be a good idea. It would save us from having to invent
> > a scheme to ensure we load the correct ldlinux.c32 depending on whether
> > we're booting 32-bit or 64-bit.
> > 
> 
> The question is if we don't need that anyway for modules... after all,
> every module, not just ldlinux.c32, is affected here.
> 
> Additionally, I do believe BIOS and EFI have different .c32 modules, no?
 
Yes, the .c32 modules for BIOS, efi32 and efi64 are all different.
Notably the BIOS and efi32 modules are compiled with different CFLAGS
(the immediate thing that comes to mind is -mno-red-zone).

> Unless they are in separate trees, I think we'll need separate names.
 
Once ldlinux.c32 is loaded it can parse the PATH directive in a config
file, which can be used to point to separate trees. Of course, you need
to be able to load *different* config files for BIOS, efi32 and efi64,
so that moves the problem rather than solving it.

-- 
Matt Fleming, Intel Open Source Technology Center


More information about the Syslinux mailing list