From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LU3Kl-0001uL-TX for qemu-devel@nongnu.org; Mon, 02 Feb 2009 13:15:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LU3Kj-0001sl-Ty for qemu-devel@nongnu.org; Mon, 02 Feb 2009 13:15:47 -0500 Received: from [199.232.76.173] (port=33047 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LU3Kj-0001sZ-PC for qemu-devel@nongnu.org; Mon, 02 Feb 2009 13:15:45 -0500 Received: from mx20.gnu.org ([199.232.41.8]:7538) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LU3Kj-0003jG-IA for qemu-devel@nongnu.org; Mon, 02 Feb 2009 13:15:45 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LU3Kh-0005a3-Sc for qemu-devel@nongnu.org; Mon, 02 Feb 2009 13:15:44 -0500 Date: Mon, 2 Feb 2009 10:15:42 -0800 From: Nathan Froyd Subject: Re: [Qemu-devel] [PATCH] Add multi-boot kernel loading support Message-ID: <20090202181541.GB15286@codesourcery.com> References: <49873680.2040603@exactcode.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49873680.2040603@exactcode.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexander Graf On Mon, Feb 02, 2009 at 07:08:00PM +0100, Rene Rebe wrote: > + /* 660f011528000000 lgdt [0x28] */ > + *p++ = 0x66; /* 32-bit operand size */ > + *p++ = 0x67; /* 32-bit addr size */ > + *p++ = 0x0f; /* LGDT [0x128] */ > + *p++ = 0x01; > + *p++ = 0x15; > + pgdt=p; /* we calculate the gdt position later */ > + p+=4; The comments do not appear to agree with the code here. (The operands for lgdt are different, at the very least.) -Nathan