From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KETv0-0007VW-TK for mharc-grub-devel@gnu.org; Thu, 03 Jul 2008 14:52:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KETuz-0007V9-RX for grub-devel@gnu.org; Thu, 03 Jul 2008 14:52:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KETux-0007UB-MT for grub-devel@gnu.org; Thu, 03 Jul 2008 14:52:32 -0400 Received: from [199.232.76.173] (port=48562 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KETux-0007U4-Af for grub-devel@gnu.org; Thu, 03 Jul 2008 14:52:31 -0400 Received: from c60.cesmail.net ([216.154.195.49]:63114) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1KETuw-0000Zk-I1 for grub-devel@gnu.org; Thu, 03 Jul 2008 14:52:31 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 03 Jul 2008 14:52:27 -0400 Received: from [192.168.0.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 071F7618F22 for ; Thu, 3 Jul 2008 14:52:26 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <486D1D8B.6040300@nic.fi> References: <1214964880.7362.17.camel@dv> <1214966028.9353.95.camel@localhost> <20080702002031.7gkuoel14wg80c0k-cebfxv@webmail.spamcop.net> <486BBEF1.6000105@nic.fi> <1215021108.29069.4.camel@dv> <87bq1e7so2.fsf@xs4all.nl> <1215109795.4585.17.camel@dv> <486D1D8B.6040300@nic.fi> Content-Type: text/plain; charset=ISO-8859-1 Date: Thu, 03 Jul 2008 14:52:26 -0400 Message-Id: <1215111146.4585.40.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 (2.22.2-2.fc9) Content-Transfer-Encoding: 8bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Eliminating grub_size_t 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, 03 Jul 2008 18:52:34 -0000 On Thu, 2008-07-03 at 21:42 +0300, Vesa Jääskeläinen wrote: > > I think I'll try to make grub_size_t 32-bit everywhere and see if it's > > going to make any difference or help discover some issues. > > Why? I would let it be optimal type for current memory bus width. int is supposed to be the optimal type, and int is 32-bit on 64-bit platforms we support. As far as I know, the x86_64 machine code actually defaults to 32-bit for all arguments except memory addresses. -- Regards, Pavel Roskin