[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>
This commit is contained in:
parent
24b62e0e1e
commit
8a86a848dc
|
@ -160,7 +160,7 @@ relocatable_kernel:
|
||||||
pad2:
|
pad2:
|
||||||
.byte 0, 0, 0
|
.byte 0, 0, 0
|
||||||
cmdline_size:
|
cmdline_size:
|
||||||
.long 0
|
.long 0x7ff
|
||||||
hardware_subarch:
|
hardware_subarch:
|
||||||
.long 0
|
.long 0
|
||||||
hardware_subarch_data:
|
hardware_subarch_data:
|
||||||
|
|
Reference in New Issue