From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JJrML-00006Q-0l for mharc-grub-devel@gnu.org; Tue, 29 Jan 2008 09:22:45 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJrMK-00005g-1K for grub-devel@gnu.org; Tue, 29 Jan 2008 09:22:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJrMI-0008Un-Bj for grub-devel@gnu.org; Tue, 29 Jan 2008 09:22:43 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJrMH-0008Ue-VI for grub-devel@gnu.org; Tue, 29 Jan 2008 09:22:42 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JJrMH-0007dh-MI for grub-devel@gnu.org; Tue, 29 Jan 2008 09:22:41 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JJrMG-0001YB-Dr for grub-devel@gnu.org; Tue, 29 Jan 2008 15:22:40 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JJrKn-0000pL-ND for grub-devel@gnu.org; Tue, 29 Jan 2008 15:21:09 +0100 Date: Tue, 29 Jan 2008 15:21:09 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080129142109.GA3013@thorin> References: <20080127194135.GA7041@thorin> <20080127200634.GA8249@thorin> <20080128091133.GA14058@thorin> <87y7a9auga.fsf@xs4all.nl> <87bq75at8m.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] a.out kernel loader 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, 29 Jan 2008 14:22:44 -0000 On Tue, Jan 29, 2008 at 09:56:38PM +0800, Bean wrote: > > > > The multiboot standard supports a.out. It would be nice if it was > > also capable of a.out. So this code can somehow be shared, like ELF > > support is shared now. > > but it doesn't have the multiboot header, or the header is not > necessary in multiboot 2 ? It has a header, but that is the part that cannot be shared, of course. I think what Marco means is to split generic a.out stuff like we do for ELF (we have ELF in kernel because it's used by the module loader, but for a.out maybe it's better to use a separate module?). For example we could have: - aout.mod: provides generic a.out routines. - freebsd-loader.mod: freebsd-specific part (relies on aout routines). - multiboot.mod: may be improved to rely on aout.mod when necessary. > btw, where can i find spec on multiboot 2 ? See http://grub.enbug.org/MultibootDraft -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.)