ppc: Fix heap top

Don't let the client stack and the heap overlap.

v2:
* Initial.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@903 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Andreas Färber
2010-10-16 17:36:00 +00:00
committed by Blue Swirl
parent ca9e9b0230
commit 4e3639f8ac

View File

@@ -97,7 +97,7 @@ get_ram_bottom( void )
static ucell get_heap_top( void ) static ucell get_heap_top( void )
{ {
return get_hash_base() - (32 + 64) * 1024; return get_hash_base() - (32 + 64 + 64) * 1024;
} }
static inline size_t ALIGN_SIZE(size_t x, size_t a) static inline size_t ALIGN_SIZE(size_t x, size_t a)