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

[Xen-devel] [PATCH] cmdline_parse_early: fix parse 'edd=' option


  • To: "keir.fraser" <keir.fraser@xxxxxxxxxxxxx>
  • From: Eric Xiao <ericxiao.gr@xxxxxxxxx>
  • Date: Tue, 10 Nov 2009 03:07:13 +0800
  • Cc: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 09 Nov 2009 11:07:49 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=dluGMAaxnlaU1bfUrXvL9OO3bQ/FBV6QqxcEFktSOVMgHaLlMh4URDFeBSsaEOuOWL wFm7js0N87srYlNia42d3fxu1kIi6omUzgBxr8cI1yxmsKtJBSKxH2PI6nOaln+X2iaY AzZA4H7xochh4OKNHVMatsv3aXAHEIgBW6PRI=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

if'edd='is default, it should decrease "opt_edd" not "opt_edid"

Signed-off-by: Xiao Guangrong <ericxiao.gr@xxxxxxxxx>

diff -r 42e268da38b9 -r f23b859e237a xen/arch/x86/boot/cmdline.S
--- a/xen/arch/x86/boot/cmdline.S       Mon Nov 09 08:19:55 2009 +0000
+++ b/xen/arch/x86/boot/cmdline.S       Tue Nov 10 02:34:16 2009 +0800
@@ -191,7 +191,7 @@
         decb    bootsym_phys(opt_edd)     /* opt_edd=1: edd=skipmbr */
         cmpw    $0x6b73,(%eax)            /* 0x6b73 == "sk" */
         je      .Lparse_edid
-        decb    bootsym_phys(opt_edid)    /* opt_edd=0: edd=on (default) */
+        decb    bootsym_phys(opt_edd)     /* opt_edd=0: edd=on (default) */

 .Lparse_edid:
         /* Check for 'edid=' command-line option. */

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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