[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.1-testing] x86, cmdline: Fix setting skip_realmode boolean on no-real-mode and tboot options


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-4.1-testing <patchbot@xxxxxxx>
  • Date: Thu, 20 Sep 2012 17:22:18 +0000
  • Delivery-date: Thu, 20 Sep 2012 17:22:25 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1348131557 -7200
# Node ID d9feedbcd750629966615801fb57c81bd6ad944a
# Parent  4210b36bfc416c27ed4d4313003a6278bdfdbb4a
x86,cmdline: Fix setting skip_realmode boolean on no-real-mode and tboot options
...effect should be cumulative.

Signed-off-by: Keir Fraser <keir@xxxxxxx>
xen-unstable changeset: 25773:b7e66cabb70f
xen-unstable date: Thu Aug 23 14:02:04 UTC 2012
---


diff -r 4210b36bfc41 -r d9feedbcd750 xen/arch/x86/boot/cmdline.S
--- a/xen/arch/x86/boot/cmdline.S       Thu Sep 20 10:55:19 2012 +0200
+++ b/xen/arch/x86/boot/cmdline.S       Thu Sep 20 10:59:17 2012 +0200
@@ -164,13 +164,15 @@ cmdline_parse_early:
         pushl   MB_cmdline(%ebx)
         call    .Lfind_option
         test    %eax,%eax
-        setnz   bootsym_phys(skip_realmode)
+        setnz   %al
+        or      %al,bootsym_phys(skip_realmode)
 
         /* Check for 'tboot=' command-line option. */
         movl    $sym_phys(.Ltboot_opt),4(%esp)
         call    .Lfind_option
         test    %eax,%eax
-        setnz   bootsym_phys(skip_realmode) /* tboot= implies no-real-mode */
+        setnz   %al
+        or      %al,bootsym_phys(skip_realmode) /* tboot= implies no-real-mode 
*/
 
 .Lparse_edd:
         /* Check for 'edd=' command-line option. */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.