Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JLht3-00011a-Gj for mharc-grub-devel@gnu.org; Sun, 03 Feb 2008 11:40:09 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLht1-000118-AU for grub-devel@gnu.org; Sun, 03 Feb 2008 11:40:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLhsw-00010Q-Tn for grub-devel@gnu.org; Sun, 03 Feb 2008 11:40:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLhsw-00010M-JV for grub-devel@gnu.org; Sun, 03 Feb 2008 11:40:02 -0500 Received: from kollasch.net ([168.103.54.221] helo=mail.kollasch.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLhsw-00079n-CZ for grub-devel@gnu.org; Sun, 03 Feb 2008 11:40:02 -0500 Received: from kirkkit.kollasch.net (unknown [IPv6:2002:a867:36dd:1:216:3eff:fed1:27c5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: jakllsch@KOLLASCH.NET) by mail.kollasch.net (Postfix) with ESMTP id 3DF623C126 for ; Sun, 3 Feb 2008 16:38:33 +0000 (UTC) Date: Sun, 3 Feb 2008 10:39:33 -0600 From: jakllsch@kollasch.net To: grub-devel@gnu.org Message-ID: <20080203163933.GJ1756@kirkkit.kollasch.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RNGrj7vazCqBHNw7" Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-detected-kernel: by monty-python.gnu.org: NetBSD 3.0 (DF) Subject: multiboot2 vs. grub2 implementation 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: Sun, 03 Feb 2008 16:40:08 -0000 --RNGrj7vazCqBHNw7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, In the course of actually trying to use the MultibootDraft, I've discovered some places where the draft and the grub2 implementation differ. * Multiboot Information Tags * Start Tag The Draft says key is 0x0000, grub2 says 0x0001. * Boot Loader Name tag is different The Draft says 0x0001, grub2 says 0x0002. * Module/Kernel Tags These tags seem to have different keys and different data formats than the draft indicates. * Memory Map Tag Does not seem to be implemented. Additionally, the word-length of the values does not seem consistent. bit 17 of the flags does not seem to affect the word size used in the Multiboot Information structure.=20 The Operating System Image header's load_addr and entry_addr fields do not seem to be recognized, even with bit 8 in the flags set. But I did use 64-bit values for the addresses, so this may be the same as the issue in the preceding paragraph. The entry physical address field is very useful to the kernel I'm using, as the ELF64 entry address supplied by the kernel I'm working with is the virtual address, not the physical address. The load address information in the ELF64 kernel I have are presently also virtual addresses though this could/should probably be changed in the linker script. The kernel command line, as well as the memory map are also useful tags for this x86_64 kernel. Jonathan Kollasch --RNGrj7vazCqBHNw7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHpe5FOjx1ye3hmokRAgwhAKCVoHdQej6u2ARSkbeL1yRSjBp23ACgol2P mWZboY53kznAt/Kw/kox9g0= =LtWj -----END PGP SIGNATURE----- --RNGrj7vazCqBHNw7--