From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JUftg-0003Oq-Kr for mharc-grub-devel@gnu.org; Thu, 28 Feb 2008 05:21:52 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUfte-0003Nz-Oe for grub-devel@gnu.org; Thu, 28 Feb 2008 05:21:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUftd-0003NO-RV for grub-devel@gnu.org; Thu, 28 Feb 2008 05:21:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUftd-0003NA-L6 for grub-devel@gnu.org; Thu, 28 Feb 2008 05:21:49 -0500 Received: from mail.windriver.com ([147.11.1.11] helo=mail.wrs.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUftd-0005LR-8w for grub-devel@gnu.org; Thu, 28 Feb 2008 05:21:49 -0500 Received: from ALA-MAIL03.corp.ad.wrs.com (ala-mail03 [147.11.57.144]) by mail.wrs.com (8.13.6/8.13.6) with ESMTP id m1SALiA9017479 for ; Thu, 28 Feb 2008 02:21:44 -0800 (PST) Received: from ala-mail06.corp.ad.wrs.com ([147.11.57.147]) by ALA-MAIL03.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 28 Feb 2008 02:21:44 -0800 Received: from [192.168.114.110] ([192.168.114.110]) by ala-mail06.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 28 Feb 2008 02:21:44 -0800 Message-ID: <47C68B38.3050203@dholloway.com> Date: Thu, 28 Feb 2008 02:21:44 -0800 From: David Holloway User-Agent: Thunderbird 1.5.0.14 (Windows/20071210) MIME-Version: 1.0 To: grub-devel@gnu.org References: <200802271909.m1RJ9Rdc001108@shoebox.dholloway.com> In-Reply-To: <200802271909.m1RJ9Rdc001108@shoebox.dholloway.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 28 Feb 2008 10:21:44.0443 (UTC) FILETIME=[B79A84B0:01C879F3] X-detected-kernel: by monty-python.gnu.org: Solaris 9 Subject: Re: Multiboot Specification 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: Thu, 28 Feb 2008 10:21:51 -0000 On Sunday 24 February 2008 13:01, Vegard Nossum wrote: >My rationale is that it may be difficult to ensure that the header in >fact resides within the first 8 KB of the kernel image. Actually it is quite easy to ensure the header is within the first 8KB. Just pad the custom-object-format-of-choice with the multiboot header. The actual file will no longer be a standard object type, but will work. In practice, the 8KB limitation is not severe. Nearly every OS has a small assembly language file that ends up at the beginning of the image. Frequently, operating system vendors put pretty little copyright notices in this small assembly file. Adding a multiboot header is trivial. If one must mingle the multiboot header with executable code, just add a jmp instruction around the header.