| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
| |
Automatically reformat com32/modules/cmd.c using Nindent.
Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
| |
Instead of parsing and unparsing the command line, just pass the raw
command line the way we already have it.
|
|
|
|
|
| |
Make the cmd.c32 module a lot smaller (and avoid a warning) by using
strpcpy() instead of sprintf().
|
|
A simple "cmd" COM32 module, which only echoes a CLI command. This is
mostly useful when running on an alternate CLI, e.g. on top of the
native gPXE COMBOOT interface.
|