From: Tim Deegan Subject: Re: Real-mode bug with AMD, gPXE, and 32-bit rep movs Date: Thu, 26 Mar 2009 16:31:27 +0000 Message-ID: <20090326163127.GL11733@york.uk.xensource.com> References: <49CB9BFA.50408@eu.citrix.com> <200903261724.06593.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: <200903261724.06593.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger Cc: George Dunlap , "xen-devel@lists.xensource.com" , Keir Fraser , "Huang2, Wei" List-Id: xen-devel@lists.xenproject.org At 16:24 +0000 on 26 Mar (1238084646), Christoph Egger wrote: > I think it's #2. Look at the #GP causes in APM > Volume 2 for MOVSx: the only one in real mode is if the address > exceeded a data segment limit. And the comment from Deegan about > clipping segment limits to 16 bits makes me think that the clipping is > happening on AMD machines and it shouldn't be. That particular clipping happens in vmx.c so I certainly hope it doesn't get called on AMD machines. :) But yes, it's likely that some big-real-mode segment state has got lost somewhere. Tim. -- Tim Deegan Principal Software Engineer, Citrix Systems (R&D) Ltd. [Company #02300071, SL9 0DZ, UK.]