Am 21.12.2010 um 11:38 schrieb Mark Cave-Ayland:
At the moment OFMEM allocates memory from the bottom of RAM upwards, however many loaders/kernels initialise themselves in lower memory areas which can cause them to be overwritten by subsequent memory allocations. Mimic the existing SPARC32 behaviour by allocating physical and virtual memory from the top of RAM downwards.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk
While I'm not against reversing the direction, your above statement worries me. Our claim code should only claim free memory. So either the respective boot loader doesn't actually claim the memory it's using (the recent ppc bug that broke Haiku), or there's a bug in ofmem that you're hiding by this change. Both directions should in theory work, I believe.
Regards, Andreas