Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DskAc-0005mq-9w for mharc-grub-devel@gnu.org; Wed, 13 Jul 2005 12:33:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dsk1C-0002Ru-Vu for grub-devel@gnu.org; Wed, 13 Jul 2005 12:23:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dsk0i-0002Ea-Vp for grub-devel@gnu.org; Wed, 13 Jul 2005 12:23:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dsk0i-0002Dr-Sd for grub-devel@gnu.org; Wed, 13 Jul 2005 12:23:00 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dsk5G-0001XE-FP for grub-devel@gnu.org; Wed, 13 Jul 2005 12:27:42 -0400 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 195798C7A for ; Wed, 13 Jul 2005 18:19:35 +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 07526-10 for ; Wed, 13 Jul 2005 17:26:04 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 5F4088B7A for ; Wed, 13 Jul 2005 18:19:32 +0200 (CEST) Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 1B567C045 for ; Wed, 13 Jul 2005 18:19:32 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <42D4129A.6010802@yahoo.fr> From: Marco Gerards Date: Wed, 13 Jul 2005 18:19:32 +0200 In-Reply-To: <42D4129A.6010802@yahoo.fr> (Vincent Pelletier's message of "Tue, 12 Jul 2005 20:57:30 +0200") Message-ID: <87fyuiadbf.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: [PATCH] sparc64 (common & specific files) 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 16:33:12 -0000 Vincent Pelletier writes: Hi Vincent, Thanks a lot for your porting work, you are doing a great job! You definitely set the world record GRUB porting. :) Here are some comments on the patch. This patch can be applied after Hollis' patch, which will require some changes in your patches. > Index: include/grub/types.h > =================================================================== > RCS file: /cvsroot/grub/grub2/include/grub/types.h,v > retrieving revision 1.5 > diff -u -p -r1.5 types.h > --- include/grub/types.h 4 Apr 2004 13:46:00 -0000 1.5 > +++ include/grub/types.h 12 Jul 2005 18:51:50 -0000 > @@ -74,11 +74,15 @@ typedef grub_uint64_t grub_addr_t; > typedef grub_uint64_t grub_off_t; > typedef grub_uint64_t grub_size_t; > typedef grub_int64_t grub_ssize_t; > +typedef grub_int64_t grub_intn_t; > +typedef grub_uint64_t grub_uintn_t; > #else > typedef grub_uint32_t grub_addr_t; > typedef grub_uint32_t grub_off_t; > typedef grub_uint32_t grub_size_t; > typedef grub_int32_t grub_ssize_t; > +typedef grub_int32_t grub_intn_t; > +typedef grub_uint32_t grub_uintn_t; > #endif > > /* Byte-orders. */ > Index: include/grub/i386/pc/time.h > =================================================================== > RCS file: /cvsroot/grub/grub2/include/grub/i386/pc/time.h,v > retrieving revision 1.5 > diff -u -p -r1.5 time.h > --- include/grub/i386/pc/time.h 27 Feb 2005 21:19:05 -0000 1.5 > +++ include/grub/i386/pc/time.h 12 Jul 2005 18:51:52 -0000 > @@ -25,6 +25,6 @@ > #define GRUB_TICKS_PER_SECOND 18 > > /* Return the real time in ticks. */ > -grub_uint32_t EXPORT_FUNC (grub_get_rtc) (void); > +grub_uintn_t EXPORT_FUNC (grub_get_rtc) (void); When Hollis' patch is applied, this is not required anymore. > Index: kern/dl.c > =================================================================== > RCS file: /cvsroot/grub/grub2/kern/dl.c,v > retrieving revision 1.10 > diff -u -p -r1.10 dl.c > --- kern/dl.c 14 Feb 2005 18:41:33 -0000 1.10 > +++ kern/dl.c 12 Jul 2005 18:51:52 -0000 > @@ -618,7 +618,10 @@ grub_dl_load (const char *name) > return mod; > > if (! grub_dl_dir) > - grub_fatal ("module dir is not initialized yet"); > + { > + grub_error(0,"module dir is not initialized yet"); > + return 0; > + } Can you explain this? Thanks, Marco