diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2008-01-30 19:10:45 -0500 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-02-20 10:57:06 +0900 |
commit | b5c2ed5e02cfe862eded56be7f6c1106e84e6e6c (patch) | |
tree | a7912cf8aa7b305e86cc5ad963465116f285dc03 /kexec_test | |
parent | 162cecf91f6ac99d5af35ac6488415cdfa98ac58 (diff) |
Kexec command line length
Fine, New patch attached.
This patch does 5 things:
1) moves command line out of the zero page (struct bootparam)
2) extends command line length to support 2K command lines
3) adds a check to ensure that command line length is reasonably sized for new
boot protocols
4) adds a check to ensure that command line length is reasonably sized for old
boot protocols
5) imports variables from latest struct setup_header in kernel bootparams.h
Incorporates simplified version checking for boot protocol and conservatively
warns if the kernels boot protocol is below version 2.06 which is guaranteed to
have 2K commandlines (even though some arches may have that support in
older boot protocols)
Neil
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
include/x86/x86-linux.h | 20 ++++++++++++++------
kexec/arch/i386/kexec-bzImage.c | 11 +++++++++++
kexec/arch/i386/x86-linux-setup.c | 3 ++-
3 files changed, 27 insertions(+), 7 deletions(-)
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec_test')
0 files changed, 0 insertions, 0 deletions