Skip to content

Commit

Permalink
[lkrnprefix] Fix lost command line passed by grub
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
gitvb authored and mcb30 committed Aug 6, 2011
1 parent 24b62e0 commit 8a86a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch/i386/prefix/lkrnprefix.S
Expand Up @@ -160,7 +160,7 @@ relocatable_kernel:
pad2:
.byte 0, 0, 0
cmdline_size:
.long 0
.long 0x7ff
hardware_subarch:
.long 0
hardware_subarch_data:
Expand Down

0 comments on commit 8a86a84

Please sign in to comment.