From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MIuGo-0007Kd-2I for mharc-grub-devel@gnu.org; Mon, 22 Jun 2009 20:53:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MIuGl-0007KK-RO for grub-devel@gnu.org; Mon, 22 Jun 2009 20:53:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIuGg-0007IG-8k for grub-devel@gnu.org; Mon, 22 Jun 2009 20:53:50 -0400 Received: from [199.232.76.173] (port=56647 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIuGg-0007ID-4V for grub-devel@gnu.org; Mon, 22 Jun 2009 20:53:46 -0400 Received: from c60.cesmail.net ([216.154.195.49]:20187) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1MIuGf-0004RB-K0 for grub-devel@gnu.org; Mon, 22 Jun 2009 20:53:45 -0400 Received: from unknown (HELO smtprelay2.cesmail.net) ([192.168.1.112]) by c60.cesmail.net with ESMTP; 22 Jun 2009 20:53:38 -0400 Received: from [192.168.0.22] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by smtprelay2.cesmail.net (Postfix) with ESMTPSA id 50F3834C6A for ; Mon, 22 Jun 2009 20:59:49 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <20090622224327.GB11998@thorin> References: <20090621181748.GA21152@thorin> <20090621225332.GB2360@thorin> <1245633761.9864.34.camel@mj> <20090622095252.GC8969@thorin> <1245699543.2561.1.camel@mj> <20090622205213.GB7871@thorin> <20090622213232.GB10027@thorin> <1245707083.5069.2.camel@mj> <20090622224327.GB11998@thorin> Content-Type: text/plain Date: Mon, 22 Jun 2009 20:53:36 -0400 Message-Id: <1245718416.7956.2.camel@mj> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 (2.26.2-1.fc11) Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] access gdtdesc on segment 0 unconditionally (Re: [PATCH] i386-qemu port) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2009 00:53:52 -0000 On Tue, 2009-06-23 at 00:43 +0200, Robert Millan wrote: > If I omit ADDR32 on i386-pc, I get: > > 836f: 2e 66 0f 01 16 68 83 lgdtl %cs:-0x7c98 > > "-0x7c98" being the signed version of 0x8368, which is also 16-bit. What is > really odd is that you got 0x168 which is an offset to 0x8200, when in fact > %cs is 0, so I don't think your binary would work (did you test it?). That's because you are disassembling the linked image after relocation and I'm disassembling the object file. -- Regards, Pavel Roskin