mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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:
parent
53ee11ae0d
commit
575400d1b4
2 changed files with 76 additions and 22 deletions
|
@ -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__
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue