com32: Add com32_cmdline() which returns argv[1..argc-1]syslinux-5.02-pre3
commit41c29c26d70fde563d7c255872bbadad87a39dfa
authorMatt Fleming <matt.fleming@intel.com>
Fri, 22 Feb 2013 15:13:38 +0000 (22 15:13 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Sat, 23 Feb 2013 11:52:17 +0000 (23 11:52 +0000)
treefb65b3d18965eecf58def8d531c4da6a18b1c7a9
parentab018ba3ce947f206bda2fc3c367a7eb4504b553
com32: Add com32_cmdline() which returns argv[1..argc-1]

cmd.c32 needs an equivalent of __com32.cs_cmdline now that the COMBOOT
code is dead. Introducing com32_cmdline(), which returns a string
consisting of module arguments from argv[1] to argv[argc-1], separated
by spaces.

Reported-by: Gene Cumm <gene.cumm@gmail.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/include/com32.h
com32/modules/cmd.c
core/elflink/load_env32.c