[syslinux] boot 32 or 64 kernel depending on cpu
H. Peter Anvin
hpa at zytor.com
Thu Apr 26 14:54:29 PDT 2007
Luciano Miguel Ferreira Rocha wrote:
>
> Why should I? The prototype for syslinux_boot_linux declares mem_limit
> as an uint32_t. So supporting t/p/e will only cause it to overflow. I
> expect to get better results from stopping at GB than by overflowing.
>
Overflowing is broken too, although I think linux.c32 might get that
wrong. The value should be truncated to 0xffffffff when it exceeds
4 GB. All other options are critically wrong.
> Still, the argument parsing is broken as far as mem and vga are
> concerned, but I didn't use them anyway and boot still fails. (Note that
> I sent my debugged code. I'd test all cases before submitting a final code.)
>
>> As far as argv[0] is concerned, that's supposed to be the name of the
>> c32 file itself.
>
> Supposed, yes, but it never did. Just garbage (and I do print the
> arguments at the start of the module).
I can believe that.
-hpa
More information about the Syslinux
mailing list