[OpenBIOS] [commit] r901 - trunk/openbios-devel/arch/ppc/qemu

repository service svn at openbios.org
Sat Oct 16 19:35:54 CEST 2010


Author: blueswirl
Date: Sat Oct 16 19:35:53 2010
New Revision: 901
URL: http://tracker.coreboot.org/trac/openbios/changeset/901

Log:
ppc: Fix RAM top (1/2)

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>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

Modified:
   trunk/openbios-devel/arch/ppc/qemu/ofmem.c

Modified: trunk/openbios-devel/arch/ppc/qemu/ofmem.c
==============================================================================
--- trunk/openbios-devel/arch/ppc/qemu/ofmem.c	Sat Oct 16 19:35:51 2010	(r900)
+++ trunk/openbios-devel/arch/ppc/qemu/ofmem.c	Sat Oct 16 19:35:53 2010	(r901)
@@ -86,7 +86,7 @@
 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



More information about the OpenBIOS mailing list