qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH, RFC] More than 2G of memory on 64-bit hosts


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH, RFC] More than 2G of memory on 64-bit hosts
Date: Mon, 25 Jun 2007 23:52:06 +0300

On 6/25/07, Michal Schulz <address@hidden> wrote:
On Monday 25 June 2007, Blue Swirl wrote:
> This patch removes the restriction of 2G ram size on 64-bit hosts.
> Theoretically Sparc32 on a SS-10 like machine could handle more than
> 62GB of memory.
>
> There seems to be problems in the boot BIOSes to manage even >2G
> memory sizes, I've found some in OpenBIOS but there are still many
> left.
>
> Any comments?

One from me, if you like... Just don't use the "unsigned long" type. The
intptr_t type would be better (it's 32-bit on 32-bit systems and 64-bit on
64-bit systems).

Nice, I didn't know about that. But how is this any different from
unsigned long?




reply via email to

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