[syslinux] Return from syslinux_local_boot(), syslinux_run_command() and syslinux_boot_linux()
H. Peter Anvin
hpa at zytor.com
Tue Jul 27 15:05:47 PDT 2010
On 07/27/2010 02:07 PM, Sebastian Herbszt wrote:
> gfxboot uses those three calls, but currently doesn't really handle
> returns from them.
> syslinux_boot_linux (lib/syslinux/load_linux.c) can return ("bail" label).
> syslinux_local_boot (lib/syslinux/localboot.c) has a comment which says
> "returns
> only on failure". The documentation for "Local boot" in doc/comboot.txt
> says "Does
> not return". Which is correct?
>
> syslinux_run_command (lib/syslinux/run_command.c) should not return
> according to
> the comment in the source file. This seems compliant with the
> documentation of "Run
> command" in doc/comboot.txt.
>
> Can i assume gfxboot only needs to handle returns from
> syslinux_boot_linux() ?
>
syslinux_local_boot() can return if local boot is not supported on the
current platform. There currently are no such platforms, but nevertheless.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
More information about the Syslinux
mailing list