From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DspLi-0007Jl-UR for mharc-grub-devel@gnu.org; Wed, 13 Jul 2005 18:05:03 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DspLg-0007J0-Jo for grub-devel@gnu.org; Wed, 13 Jul 2005 18:05:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DspLe-0007IO-JN for grub-devel@gnu.org; Wed, 13 Jul 2005 18:04:59 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DspJf-0006AX-AW for grub-devel@gnu.org; Wed, 13 Jul 2005 18:02:55 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dsosv-0005E3-5N for grub-devel@gnu.org; Wed, 13 Jul 2005 17:35:17 -0400 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id EC1D48902 for ; Wed, 13 Jul 2005 23:27:06 +0200 (CEST) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 29436-02 for ; Wed, 13 Jul 2005 22:33:39 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 968E584DE for ; Wed, 13 Jul 2005 23:27:04 +0200 (CEST) Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 573F6C04A for ; Wed, 13 Jul 2005 23:27:04 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <42D26452.3010706@yahoo.fr> <200507121258.40668.okuji@enbug.org> <42D3B827.4090103@yahoo.fr> <87hdf0p4jy.fsf@student.han.nl> <42D3C877.3040607@yahoo.fr> <5b8d0feefaf6717dc015cc834de2da1b@penguinppc.org> <877jfwowlo.fsf@student.han.nl> <42D41013.4040601@yahoo.fr> <87y88bolt3.fsf@student.han.nl> <42D42CC1.80301@yahoo.fr> <87oe96ae86.fsf@student.han.nl> <42D57C51.9080302@yahoo.fr> From: Marco Gerards Date: Wed, 13 Jul 2005 23:27:05 +0200 In-Reply-To: <42D57C51.9080302@yahoo.fr> (Vincent Pelletier's message of "Wed, 13 Jul 2005 22:40:49 +0200") Message-ID: <87eka28kie.fsf@student.han.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: sparc64 port : diffs to powerpc branches 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: Wed, 13 Jul 2005 22:05:01 -0000 Vincent Pelletier writes: >> You did not load ext2 as a module, but linked it into the binary. >> I assume you did not use grub-mkimage yet... > > Oh, I thought you meant it was used to add them statically in grubof. No, this is how things work: At the moment you have grubof with ext2 compiled in. In the future we should have a very small grubof (with a better name ;)). It can load modules at run time. It is possible to add modules to grubof using grub-mkimage. In that case a new grubof binary is made. That new binary is the same as the old one, with the modules embedded. When it is loaded the modules (still ELF files) are loaded to a known location. The first thing GRUB does is checking that known location to see if there are modules loaded there. It parses and loads the modules (using the ELF loader+relocator). So it works the same as loading a module from disk, now it is just loaded from memory. I hope this makes things a bit more clear, otherwise just ask me on IRC or so. >> Ok, cool. I am looking forwards to that patch. > > I think patches should be applied in this order : > - Apply file moving patch for ieee1275 common files. > - Apply the general patchs I sent (so we have a clean status to add the > sparc64 port, like grub_get_rtc prototype change, the already-applied > mm.c patch to correct behaviour on 64 bits archs, ...) > - Finally apply the sparc64 specific adds (should be only file additions > at this step, excepts for changes in configure[.ac] and ChangeLog :) ). Right, although I still do not agree on the grub_get_rtc prototype. :) Thanks, Marco