mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86,cmdline: Fix setting skip_realmode boolean on no-real-mode and tboot options
...effect should be cumulative. Signed-off-by: Keir Fraser <keir@xen.org>
This commit is contained in:
1 parent
6de33e7c33
commit
db8cf0c8e8
1 file changed
+4
-2
@@ -164,13 +164,15 @@ cmdline_parse_early:
|
||||
pushl MB_cmdline(%ebx)
|
||||
call .Lfind_option
|
||||
test %eax,%eax
|
||||
setnz sym_phys(skip_realmode)
|
||||
setnz %al
|
||||
or %al,sym_phys(skip_realmode)
|
||||
|
||||
/* Check for 'tboot=' command-line option. */
|
||||
movl $sym_phys(.Ltboot_opt),4(%esp)
|
||||
call .Lfind_option
|
||||
test %eax,%eax
|
||||
setnz sym_phys(skip_realmode) /* tboot= implies no-real-mode */
|
||||
setnz %al
|
||||
or %al,sym_phys(skip_realmode) /* tboot= implies no-real-mode */
|
||||
|
||||
.Lparse_edd:
|
||||
/* Check for 'edd=' command-line option. */
|
||||
|
||||