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). My 0,02€. -- Michal Schulz