Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LffFl-0002BL-P3 for mharc-grub-devel@gnu.org; Fri, 06 Mar 2009 13:58:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LffFj-0002AT-QA for grub-devel@gnu.org; Fri, 06 Mar 2009 13:58:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LffFi-00029r-NF for grub-devel@gnu.org; Fri, 06 Mar 2009 13:58:35 -0500 Received: from [199.232.76.173] (port=35247 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LffFi-00029k-HO for grub-devel@gnu.org; Fri, 06 Mar 2009 13:58:34 -0500 Received: from aybabtu.com ([69.60.117.155]:53521) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LffFh-00007p-VK for grub-devel@gnu.org; Fri, 06 Mar 2009 13:58:34 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1Lff7u-0002IP-QW for grub-devel@gnu.org; Fri, 06 Mar 2009 19:50:31 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1LffFf-0007U5-1j for grub-devel@gnu.org; Fri, 06 Mar 2009 19:58:31 +0100 Date: Fri, 6 Mar 2009 19:58:31 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090306185831.GB28703@thorin> References: <20090304.173225.205647546.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090304.173225.205647546.davem@davemloft.net> 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.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH 5/10]: Fix multiboot2 build on sparc 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: Fri, 06 Mar 2009 18:58:36 -0000 On Wed, Mar 04, 2009 at 05:32:25PM -0800, David Miller wrote: > > 2009-03-03 David S. Miller > > * loader/ieee1275/multiboot2.c (grub_mb2_arch_boot): Handle > sparc like powerpc. > --- > loader/ieee1275/multiboot2.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/loader/ieee1275/multiboot2.c b/loader/ieee1275/multiboot2.c > index c253fc9..6d0e781 100644 > --- a/loader/ieee1275/multiboot2.c > +++ b/loader/ieee1275/multiboot2.c > @@ -115,7 +115,7 @@ grub_mb2_arch_unload (struct multiboot_tag_header *tags) > void > grub_mb2_arch_boot (grub_addr_t entry_addr, void *tags) > { > -#if defined(__powerpc__) > +#if defined(__powerpc__) || defined(__sparc__) > kernel_entry_t entry = (kernel_entry_t) entry_addr; > entry (MULTIBOOT2_BOOTLOADER_MAGIC, tags, grub_ieee1275_entry_fn, 0, 0); > #elif defined(__i386__) I'd rather refrain from enabling multiboot2 on sparc for now. The current multiboot2 implementation needs a lot of work to be resynced/factorized with the multiboot1 one. I'd expect it'd have to be almost replaced completely. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."