]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[lkrnprefix] Fix lost command line passed by grub
authorValentine Barshak <gvaxon@gmail.com>
Sat, 6 Aug 2011 19:43:17 +0000 (23:43 +0400)
committerMichael Brown <mcb30@ipxe.org>
Sat, 6 Aug 2011 22:03:40 +0000 (23:03 +0100)
iPXE specifies a value of 0 for cmdline_size, causing GRUB to not pass
in a command line.  Fix by setting cmdline_size to the maximum value
of 2047.

Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/prefix/lkrnprefix.S

index f87ef85a9d5b59cd7a9af75306f4d28d5227e0a7..338ffa3d424e9321b0200d497f5084f1dce47e70 100644 (file)
@@ -160,7 +160,7 @@ relocatable_kernel:
 pad2:
        .byte   0, 0, 0
 cmdline_size:
-       .long   0
+       .long   0x7ff
 hardware_subarch:
        .long   0
 hardware_subarch_data: