grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eliminating grub_size_t


From: Pavel Roskin
Subject: Re: Eliminating grub_size_t
Date: Thu, 03 Jul 2008 14:52:26 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]