Browse Source

[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>
tags/v1.20.1
Valentine Barshak 13 years ago
parent
commit
8a86a848dc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/arch/i386/prefix/lkrnprefix.S

+ 1
- 1
src/arch/i386/prefix/lkrnprefix.S View File

@@ -160,7 +160,7 @@ relocatable_kernel:
160 160
 pad2:
161 161
 	.byte	0, 0, 0
162 162
 cmdline_size:
163
-	.long	0
163
+	.long	0x7ff
164 164
 hardware_subarch:
165 165
 	.long	0
166 166
 hardware_subarch_data:

Loading…
Cancel
Save