diff options
author | Valentine Barshak | 2011-08-06 21:43:17 +0200 |
---|---|---|
committer | Michael Brown | 2011-08-07 00:03:40 +0200 |
commit | 8a86a848dc324221c39efd5853846e52a70046ed (patch) | |
tree | b0675cb7600360355f8ec3aadd3f1312655dc9c2 /src | |
parent | [romprefix] Fix romprefix build with certain versions of binutils (diff) | |
download | ipxe-8a86a848dc324221c39efd5853846e52a70046ed.tar.gz ipxe-8a86a848dc324221c39efd5853846e52a70046ed.tar.xz ipxe-8a86a848dc324221c39efd5853846e52a70046ed.zip |
[lkrnprefix] Fix lost command line passed by grub
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/i386/prefix/lkrnprefix.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/prefix/lkrnprefix.S b/src/arch/i386/prefix/lkrnprefix.S index f87ef85a..338ffa3d 100644 --- a/src/arch/i386/prefix/lkrnprefix.S +++ b/src/arch/i386/prefix/lkrnprefix.S @@ -160,7 +160,7 @@ relocatable_kernel: pad2: .byte 0, 0, 0 cmdline_size: - .long 0 + .long 0x7ff hardware_subarch: .long 0 hardware_subarch_data: |