From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hp5ZL-0000sU-5V for qemu-devel@nongnu.org; Fri, 18 May 2007 12:44:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hp5ZK-0000s6-HD for qemu-devel@nongnu.org; Fri, 18 May 2007 12:44:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hp5ZK-0000rx-Ba for qemu-devel@nongnu.org; Fri, 18 May 2007 12:44:42 -0400 Received: from terminus.zytor.com ([192.83.249.54]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hp5R5-0005pp-Id for qemu-devel@nongnu.org; Fri, 18 May 2007 12:36:11 -0400 Message-ID: <464DD5CB.30905@zytor.com> Date: Fri, 18 May 2007 09:35:23 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: [Qemu-devel] Rewritten Linux kernel loader References: <464B783A.8050501@zytor.com> <464CC3F1.9040704@zytor.com> <20070518084646.GY14071@os.inf.tu-dresden.de> In-Reply-To: <20070518084646.GY14071@os.inf.tu-dresden.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "H. Peter Anvin" , qemu-devel@nongnu.org Adam Lackorzynski wrote: >> + >> + /* Make sure we have a partition signature */ >> + bootsect[0x510] = 0x55; >> + bootsect[0x511] = 0xaa; > > These two should be decimal instead of hex. > Oh, yes, duh. 510 and 511 or 0x1fe and 0x1ff. -hpa