[OpenBIOS] [PATCH v2 03/10] ppc: Fix RAM top (1/2)

Andreas Färber andreas.faerber at web.de
Mon Oct 11 14:47:38 CEST 2010


According to the illustration in start.S,
the stack size is supposed to be 64 KiB.

v2:
* Split up.

Signed-off-by: Andreas Färber <andreas.faerber at web.de>
---
 arch/ppc/qemu/ofmem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/ppc/qemu/ofmem.c b/arch/ppc/qemu/ofmem.c
index 3ec25c3..f181c77 100644
--- a/arch/ppc/qemu/ofmem.c
+++ b/arch/ppc/qemu/ofmem.c
@@ -86,7 +86,7 @@ get_rom_base( void )
 unsigned long
 get_ram_top( void )
 {
-	return get_rom_base() - HASH_SIZE - (32 + 32 + 64) * 1024;
+	return get_rom_base() - HASH_SIZE - (32 + 64 + 64) * 1024;
 }
 
 unsigned long
-- 
1.7.3




More information about the OpenBIOS mailing list