From: Keir Fraser Subject: Re: x86_64 platform : addresses type Date: Tue, 4 Jul 2006 11:53:49 +0100 Message-ID: References: <44AA4287.9090307@cea.fr> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <44AA4287.9090307@cea.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: PUCCETTI Armand Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > > However, on x86_64 using gcc, addresses as well as unsigned long are > 64 bits long. > > It seems that luckily mmap_addr is below 2*32-1, making the u32 type > acceptable > so far (for instance in function __start_xen, where the memory map is > turned into > another structure) but what would it cost to change it into u64 ? > After all, the multiboot specification (page 18) has 'unsigned long' > instead of u32 here. That info will never be placed above 4GB, or the info would not be available to non-pae non-x86/64 OSes. -- Keir