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:
Keir Fraser committed 2012-08-23 15:02:04 +01:00
1 parent 6de33e7c33
commit db8cf0c8e8
1 file changed
+4 -2
+4 -2
View File
@@ -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. */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.