|
From: | Vesa Jääskeläinen |
Subject: | Re: Eliminating grub_size_t |
Date: | Thu, 03 Jul 2008 22:07:04 +0300 |
User-agent: | Thunderbird 2.0.0.14 (Windows/20080421) |
Pavel Roskin wrote:
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.
And size_t is kinda connected to memory addresses. Do you agree :) ?
[Prev in Thread] | Current Thread | [Next in Thread] |