Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JJTVu-0006gt-TL for mharc-grub-devel@gnu.org; Mon, 28 Jan 2008 07:55:02 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJTVt-0006gg-1c for grub-devel@gnu.org; Mon, 28 Jan 2008 07:55:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJTVq-0006gM-IL for grub-devel@gnu.org; Mon, 28 Jan 2008 07:54:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJTVq-0006gJ-Dx for grub-devel@gnu.org; Mon, 28 Jan 2008 07:54:58 -0500 Received: from smtp-vbr2.xs4all.nl ([194.109.24.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JJTVq-00074w-5R for grub-devel@gnu.org; Mon, 28 Jan 2008 07:54:58 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0SCsuTL056833 for ; Mon, 28 Jan 2008 13:54:56 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <20080126172120.GA4119@thorin> <20080128104750.GB32702@thorin> Mail-Copies-To: mgerards@xs4all.nl Date: Mon, 28 Jan 2008 13:56:26 +0100 In-Reply-To: <20080128104750.GB32702@thorin> (Robert Millan's message of "Mon, 28 Jan 2008 11:47:50 +0100") Message-ID: <87y7aam7lx.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: Compiling grub2 on *BSD? 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: Mon, 28 Jan 2008 12:55:01 -0000 Robert Millan writes: >> > - movsbl %dh, %eax >> > - movl %eax, %ss:(DATA_ADDR + GRUB_KERNEL_MACHINE_INSTALL_DOS_PART) >> > + // Check for the multiboot signature >> > + cmpl $0x1badb002, %ss:(DATA_ADDR + 0x50) >> > + jz 1f >> [...] >> >> if there is no objection, I'd like to check in this patch. > > I don't like that you hardcode 0x1badb002. Could you use the macro from > multiboot.h ? > > Also for the comments, I think /* */ is preferred (at least, it is consistent > with the rest of GRUB). And do not forget "." :-) -- Marco