[PATCH] i386: Fix the EDD code misparsing the command line
The EDD code would scan the command line as a fixed array, without taking account of either whitespace, null-termination, the old command-line protocol, late overrides early, or the fact that the command line may not be reachable from INITSEG. This should fix those problems, and enable us to use a longer command line. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Andi Kleen <ak@suse.de>
This commit is contained in:
committed by
Andi Kleen
parent
53ee11ae0d
commit
575400d1b4
@ -52,6 +52,7 @@
|
||||
#define EDD_CL_EQUALS 0x3d646465 /* "edd=" */
|
||||
#define EDD_CL_OFF 0x666f /* "of" for off */
|
||||
#define EDD_CL_SKIP 0x6b73 /* "sk" for skipmbr */
|
||||
#define EDD_CL_ON 0x6e6f /* "on" for on */
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
|
Reference in New Issue
Block a user